rtpdec: Remove useless NULL initializations when using designated initializers

Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk
oldabi
Martin Storsjö 14 years ago
parent fe70a95e1d
commit 4da71f18f6
  1. 1
      libavformat/rtpdec_qdm2.c
  2. 1
      libavformat/rtpdec_qt.c
  3. 1
      libavformat/rtpdec_svq3.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,

@ -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, \

@ -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,

Loading…
Cancel
Save