summaryrefslogtreecommitdiff
path: root/graphics/ffmpeg/patches/patch-libavformat_rtpproto_c
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/ffmpeg/patches/patch-libavformat_rtpproto_c')
-rw-r--r--graphics/ffmpeg/patches/patch-libavformat_rtpproto_c14
1 files changed, 0 insertions, 14 deletions
diff --git a/graphics/ffmpeg/patches/patch-libavformat_rtpproto_c b/graphics/ffmpeg/patches/patch-libavformat_rtpproto_c
deleted file mode 100644
index 6c50152..0000000
--- a/graphics/ffmpeg/patches/patch-libavformat_rtpproto_c
+++ /dev/null
@@ -1,14 +0,0 @@
1avformat/rtpproto: set ttl upper bound to 255
2
3Index: libavformat/rtpproto.c
4--- libavformat/rtpproto.c.orig
5+++ libavformat/rtpproto.c
6@@ -67,7 +67,7 @@ typedef struct RTPContext {
7 #define D AV_OPT_FLAG_DECODING_PARAM
8 #define E AV_OPT_FLAG_ENCODING_PARAM
9 static const AVOption options[] = {
10- { "ttl", "Time to live (in milliseconds, multicast only)", OFFSET(ttl), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
11+ { "ttl", "Time to live (multicast only)", OFFSET(ttl), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, 255, .flags = D|E },
12 { "buffer_size", "Send/Receive buffer size (in bytes)", OFFSET(buffer_size), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
13 { "rtcp_port", "Custom rtcp port", OFFSET(rtcp_port), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },
14 { "local_rtpport", "Local rtp port", OFFSET(local_rtpport), AV_OPT_TYPE_INT, { .i64 = -1 }, -1, INT_MAX, .flags = D|E },