mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2025-11-03 01:33:50 +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:
@@ -823,7 +823,7 @@ static av_cold int imc_decode_close(AVCodecContext * avctx)
|
||||
|
||||
AVCodec imc_decoder = {
|
||||
.name = "imc",
|
||||
.type = CODEC_TYPE_AUDIO,
|
||||
.type = AVMEDIA_TYPE_AUDIO,
|
||||
.id = CODEC_ID_IMC,
|
||||
.priv_data_size = sizeof(IMCContext),
|
||||
.init = imc_decode_init,
|
||||
|
||||
Reference in New Issue
Block a user