You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
avformat/udp: fix build on MINIX
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user