[FFmpeg-cvslog] avformat/udp: Remove (harmless) duplicated pkt_size entry from AVOption table

Michael Niedermayer git at videolan.org
Sun Mar 29 22:17:25 CEST 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Mar 29 22:10:05 2015 +0200| [d0059281e6a6a806e4476ad6133962d11cc52695] | committer: Michael Niedermayer

avformat/udp: Remove (harmless) duplicated pkt_size entry from AVOption table

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=d0059281e6a6a806e4476ad6133962d11cc52695
---

 libavformat/udp.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/udp.c b/libavformat/udp.c
index affa08e..d40ea97 100644
--- a/libavformat/udp.c
+++ b/libavformat/udp.c
@@ -115,7 +115,6 @@ static const AVOption options[] = {
     { "local_port",     "Local port",                                      OFFSET(local_port),     AV_OPT_TYPE_INT,    { .i64 = -1 },    -1, INT_MAX, .flags = D|E },
     { "localaddr",      "Local address",                                   OFFSET(localaddr),      AV_OPT_TYPE_STRING, { .str = NULL },               .flags = D|E },
     { "udplite_coverage", "choose UDPLite head size which should be validated by checksum", OFFSET(udplite_coverage), AV_OPT_TYPE_INT, {.i64 = 0}, 0, INT_MAX, D|E },
-    { "pkt_size",       "set size of UDP packets",                         OFFSET(pkt_size),       AV_OPT_TYPE_INT,    { .i64 = 1472 },  -1, INT_MAX, D|E },
     { "pkt_size",       "Maximum UDP packet size",                         OFFSET(pkt_size),       AV_OPT_TYPE_INT,    { .i64 = 1472 },  -1, INT_MAX, .flags = D|E },
     { "reuse",          "explicitly allow reusing UDP sockets",            OFFSET(reuse_socket),   AV_OPT_TYPE_INT,    { .i64 = -1 },    -1, 1,       D|E },
     { "reuse_socket",   "explicitly allow reusing UDP sockets",            OFFSET(reuse_socket),   AV_OPT_TYPE_INT,    { .i64 = -1 },    -1, 1,       .flags = D|E },



More information about the ffmpeg-cvslog mailing list