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_qt.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_qt.c')
-rw-r--r-- | libavformat/rtpdec_qt.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/rtpdec_qt.c b/libavformat/rtpdec_qt.c index 7dfc71fd66..4d8437e947 100644 --- a/libavformat/rtpdec_qt.c +++ b/libavformat/rtpdec_qt.c @@ -240,13 +240,13 @@ static void qt_rtp_free(PayloadContext *qt) #define RTP_QT_HANDLER(m, n, s, t) \ RTPDynamicProtocolHandler ff_ ## m ## _rtp_ ## n ## _handler = { \ - s, \ - t, \ - CODEC_ID_NONE, \ - NULL, \ - qt_rtp_new, \ - qt_rtp_free, \ - qt_rtp_parse_packet, \ + .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, \ }; RTP_QT_HANDLER(qt, vid, "X-QT", CODEC_TYPE_VIDEO); |