freebsd-ports/multimedia/ffmpeg-011/files/patch-libavformat-udp.c
Martin Matuska 12ca8dfe5f FFmpeg is a complete, cross-platform solution to record, convert and stream
audio and video. It includes libavcodec - the leading audio/video codec
library.

This version is from the 0.11 release branch.

WWW: http://ffmpeg.mplayerhq.hu/
2012-08-06 12:52:46 +00:00

11 lines
290 B
C

--- libavformat/udp.c.orig 2009-05-15 17:24:45.000000000 +0200
+++ libavformat/udp.c 2009-05-15 17:27:17.000000000 +0200
@@ -45,6 +45,8 @@
#define IN6_IS_ADDR_MULTICAST(a) (((uint8_t *) (a))[0] == 0xff)
#endif
+#define IPPROTO_IPV6 41
+
typedef struct {
int udp_fd;
int ttl;