mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-12 02:19:35 +00:00
rtpdec: Change the qdm2, qt and svq3 depacketizers to use designated initializers
Originally committed as revision 25843 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
ad556addfd
commit
fe70a95e1d
@ -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,
|
||||
};
|
||||
|
@ -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);
|
||||
|
@ -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,
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user