From 4da71f18f68877b57806308b7d79ffbb5f076272 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Storsj=C3=B6?= Date: Mon, 29 Nov 2010 16:04:45 +0000 Subject: [PATCH] rtpdec: Remove useless NULL initializations when using designated initializers Originally committed as revision 25844 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/rtpdec_qdm2.c | 1 - libavformat/rtpdec_qt.c | 1 - libavformat/rtpdec_svq3.c | 1 - 3 files changed, 3 deletions(-) diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c index 3749980519..aa94b1f760 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 4d8437e947..5cca076079 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 9ce14034f9..79a577584e 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,