mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-10-27 19:02:13 +08:00
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump. Originally committed as revision 22735 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -170,7 +170,7 @@ static int amr_parse_sdp_line(AVFormatContext *s, int st_index,
|
||||
|
||||
RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler = {
|
||||
.enc_name = "AMR",
|
||||
.codec_type = CODEC_TYPE_AUDIO,
|
||||
.codec_type = AVMEDIA_TYPE_AUDIO,
|
||||
.codec_id = CODEC_ID_AMR_NB,
|
||||
.parse_sdp_a_line = amr_parse_sdp_line,
|
||||
.parse_packet = amr_handle_packet,
|
||||
@@ -178,7 +178,7 @@ RTPDynamicProtocolHandler ff_amr_nb_dynamic_handler = {
|
||||
|
||||
RTPDynamicProtocolHandler ff_amr_wb_dynamic_handler = {
|
||||
.enc_name = "AMR-WB",
|
||||
.codec_type = CODEC_TYPE_AUDIO,
|
||||
.codec_type = AVMEDIA_TYPE_AUDIO,
|
||||
.codec_id = CODEC_ID_AMR_WB,
|
||||
.parse_sdp_a_line = amr_parse_sdp_line,
|
||||
.parse_packet = amr_handle_packet,
|
||||
|
||||
Reference in New Issue
Block a user