[SCM] libav/experimental: rtpdec: Remove useless NULL initializations when using designated initializers

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:19:31 UTC 2013


The following commit has been merged in the experimental branch:
commit 4da71f18f68877b57806308b7d79ffbb5f076272
Author: Martin Storsjö <martin at martin.st>
Date:   Mon Nov 29 16:04:45 2010 +0000

    rtpdec: Remove useless NULL initializations when using designated initializers
    
    Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c
index 3749980..aa94b1f 100644
--- a/libavformat/rtpdec_qdm2.c
+++ b/libavformat/rtpdec_qdm2.c
@@ -309,7 +309,6 @@ RTPDynamicProtocolHandler ff_qdm2_dynamic_handler = {
     .enc_name         = "X-QDM",
     .codec_type       = AVMEDIA_TYPE_AUDIO,
     .codec_id         = CODEC_ID_NONE,
-    .parse_sdp_a_line = NULL,
     .open             = qdm2_extradata_new,
     .close            = qdm2_extradata_free,
     .parse_packet     = qdm2_parse_packet,
diff --git a/libavformat/rtpdec_qt.c b/libavformat/rtpdec_qt.c
index 4d8437e..5cca076 100644
--- a/libavformat/rtpdec_qt.c
+++ b/libavformat/rtpdec_qt.c
@@ -243,7 +243,6 @@ RTPDynamicProtocolHandler ff_ ## m ## _rtp_ ## n ## _handler = { \
     .enc_name         = s, \
     .codec_type       = t, \
     .codec_id         = CODEC_ID_NONE, \
-    .parse_sdp_a_line = NULL,          \
     .open             = qt_rtp_new,    \
     .close            = qt_rtp_free,   \
     .parse_packet     = qt_rtp_parse_packet, \
diff --git a/libavformat/rtpdec_svq3.c b/libavformat/rtpdec_svq3.c
index 9ce1403..79a5775 100644
--- a/libavformat/rtpdec_svq3.c
+++ b/libavformat/rtpdec_svq3.c
@@ -128,7 +128,6 @@ RTPDynamicProtocolHandler ff_svq3_dynamic_handler = {
     .enc_name         = "X-SV3V-ES",
     .codec_type       = AVMEDIA_TYPE_VIDEO,
     .codec_id         = CODEC_ID_NONE,      // see if (config_packet) above
-    .parse_sdp_a_line = NULL,               // parse sdp line
     .open             = svq3_extradata_new,
     .close            = svq3_extradata_free,
     .parse_packet     = svq3_parse_packet,

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list