Originally committed as revision 25406 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Martin Storsjö 15 years ago
parent 6766a354f7
commit 25968c3953
  1. 6
      libavformat/udp.c

@ -455,9 +455,9 @@ static int udp_write(URLContext *h, const uint8_t *buf, int size)
for(;;) {
if (!s->is_connected) {
ret = sendto (s->udp_fd, buf, size, 0,
(struct sockaddr *) &s->dest_addr,
s->dest_addr_len);
ret = sendto (s->udp_fd, buf, size, 0,
(struct sockaddr *) &s->dest_addr,
s->dest_addr_len);
} else
ret = send(s->udp_fd, buf, size, 0);
if (ret < 0) {

Loading…
Cancel
Save