summaryrefslogtreecommitdiff
path: root/libavformat/rtpdec_svq3.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2010-11-29 16:04:04 +0000
committerMartin Storsjö <martin@martin.st>2010-11-29 16:04:04 +0000
commitfe70a95e1d2e0acc40ed94b9f65f37816f8001f5 (patch)
tree00020ba679cdbbe59a0af1c4e5e8589bfc3d8954 /libavformat/rtpdec_svq3.c
parentad556addfdcfa901d396512ee94edc9d8d7ba322 (diff)
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.c14
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,
};