diff options
author | Martin Storsjö <martin@martin.st> | 2010-11-29 16:04:04 +0000 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2010-11-29 16:04:04 +0000 |
commit | fe70a95e1d2e0acc40ed94b9f65f37816f8001f5 (patch) | |
tree | 00020ba679cdbbe59a0af1c4e5e8589bfc3d8954 /libavformat/rtpdec_qdm2.c | |
parent | ad556addfdcfa901d396512ee94edc9d8d7ba322 (diff) | |
download | ffmpeg-fe70a95e1d2e0acc40ed94b9f65f37816f8001f5.tar.gz |
rtpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers
Originally committed as revision 25843 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/rtpdec_qdm2.c')
-rw-r--r-- | libavformat/rtpdec_qdm2.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/rtpdec_qdm2.c b/libavformat/rtpdec_qdm2.c index bd56942c30..3749980519 100644 --- a/libavformat/rtpdec_qdm2.c +++ b/libavformat/rtpdec_qdm2.c @@ -306,11 +306,11 @@ static void qdm2_extradata_free(PayloadContext *qdm) } RTPDynamicProtocolHandler ff_qdm2_dynamic_handler = { - "X-QDM", - AVMEDIA_TYPE_AUDIO, - CODEC_ID_NONE, - NULL, - qdm2_extradata_new, - qdm2_extradata_free, - qdm2_parse_packet, + .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, }; |