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_svq3.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_svq3.c')
-rw-r--r-- | libavformat/rtpdec_svq3.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/rtpdec_svq3.c b/libavformat/rtpdec_svq3.c index 06a1ddbc3f..9ce14034f9 100644 --- a/libavformat/rtpdec_svq3.c +++ b/libavformat/rtpdec_svq3.c @@ -125,11 +125,11 @@ static void svq3_extradata_free(PayloadContext *sv) } RTPDynamicProtocolHandler ff_svq3_dynamic_handler = { - "X-SV3V-ES", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_NONE, // see if (config_packet) above - NULL, // parse sdp line - svq3_extradata_new, - svq3_extradata_free, - svq3_parse_packet, + .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, }; |