Commit 4da71f18 authored by Martin Storsjö's avatar Martin Storsjö

rtpdec: Remove useless NULL initializations when using designated initializers

Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent fe70a95e
...@@ -309,7 +309,6 @@ RTPDynamicProtocolHandler ff_qdm2_dynamic_handler = { ...@@ -309,7 +309,6 @@ RTPDynamicProtocolHandler ff_qdm2_dynamic_handler = {
.enc_name = "X-QDM", .enc_name = "X-QDM",
.codec_type = AVMEDIA_TYPE_AUDIO, .codec_type = AVMEDIA_TYPE_AUDIO,
.codec_id = CODEC_ID_NONE, .codec_id = CODEC_ID_NONE,
.parse_sdp_a_line = NULL,
.open = qdm2_extradata_new, .open = qdm2_extradata_new,
.close = qdm2_extradata_free, .close = qdm2_extradata_free,
.parse_packet = qdm2_parse_packet, .parse_packet = qdm2_parse_packet,
......
...@@ -243,7 +243,6 @@ RTPDynamicProtocolHandler ff_ ## m ## _rtp_ ## n ## _handler = { \ ...@@ -243,7 +243,6 @@ RTPDynamicProtocolHandler ff_ ## m ## _rtp_ ## n ## _handler = { \
.enc_name = s, \ .enc_name = s, \
.codec_type = t, \ .codec_type = t, \
.codec_id = CODEC_ID_NONE, \ .codec_id = CODEC_ID_NONE, \
.parse_sdp_a_line = NULL, \
.open = qt_rtp_new, \ .open = qt_rtp_new, \
.close = qt_rtp_free, \ .close = qt_rtp_free, \
.parse_packet = qt_rtp_parse_packet, \ .parse_packet = qt_rtp_parse_packet, \
......
...@@ -128,7 +128,6 @@ RTPDynamicProtocolHandler ff_svq3_dynamic_handler = { ...@@ -128,7 +128,6 @@ RTPDynamicProtocolHandler ff_svq3_dynamic_handler = {
.enc_name = "X-SV3V-ES", .enc_name = "X-SV3V-ES",
.codec_type = AVMEDIA_TYPE_VIDEO, .codec_type = AVMEDIA_TYPE_VIDEO,
.codec_id = CODEC_ID_NONE, // see if (config_packet) above .codec_id = CODEC_ID_NONE, // see if (config_packet) above
.parse_sdp_a_line = NULL, // parse sdp line
.open = svq3_extradata_new, .open = svq3_extradata_new,
.close = svq3_extradata_free, .close = svq3_extradata_free,
.parse_packet = svq3_parse_packet, .parse_packet = svq3_parse_packet,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment