rtpdec: Remove useless NULL initializations when using designated initializers
authorMartin Storsjö <martin@martin.st>
Mon, 29 Nov 2010 16:04:45 +0000 (16:04 +0000)
committerMartin Storsjö <martin@martin.st>
Mon, 29 Nov 2010 16:04:45 +0000 (16:04 +0000)
Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/rtpdec_qdm2.c
libavformat/rtpdec_qt.c
libavformat/rtpdec_svq3.c

index 3749980..aa94b1f 100644 (file)
@@ -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,
index 4d8437e..5cca076 100644 (file)
@@ -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, \
index 9ce1403..79a5775 100644 (file)
@@ -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,