mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-01-05 21:55:37 +01: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:
@@ -790,7 +790,7 @@ static av_cold int MPA_encode_close(AVCodecContext *avctx)
|
||||
|
||||
AVCodec mp2_encoder = {
|
||||
"mp2",
|
||||
CODEC_TYPE_AUDIO,
|
||||
AVMEDIA_TYPE_AUDIO,
|
||||
CODEC_ID_MP2,
|
||||
sizeof(MpegAudioContext),
|
||||
MPA_encode_init,
|
||||
|
||||
Reference in New Issue
Block a user