Browse Source

avformat/udp: fix build on MINIX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
b2d1e22c2a
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavformat/udp.c

+ 2
- 0
libavformat/udp.c View File

@@ -647,7 +647,9 @@ static int udp_open(URLContext *h, const char *uri, int flags)
}

if (s->is_broadcast) {
#ifdef SO_BROADCAST
if (setsockopt (udp_fd, SOL_SOCKET, SO_BROADCAST, &(s->is_broadcast), sizeof(s->is_broadcast)) != 0)
#endif
goto fail;
}



Loading…
Cancel
Save