freebsd-ports/multimedia/ffmpeg1/files/patch-libavformat-udp.c
Martin Matuska 3d05077d92 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 1.0 release branch.

WWW: http://ffmpeg.org/

Feature safe:	yes
2012-10-14 20:30:00 +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;