Mercurial > libavcodec.hg
diff binkaudio.c @ 11560:8a4984c5cacc libavcodec
Define AVMediaType enum, and use it instead of enum CodecType, which
is deprecated and will be dropped at the next major bump.
author | stefano |
---|---|
date | Tue, 30 Mar 2010 23:30:55 +0000 |
parents | 908cc63498ec |
children | 23cad4157bfb |
line wrap: on
line diff
--- a/binkaudio.c Tue Mar 30 22:09:14 2010 +0000 +++ b/binkaudio.c Tue Mar 30 23:30:55 2010 +0000 @@ -288,7 +288,7 @@ AVCodec binkaudio_rdft_decoder = { "binkaudio_rdft", - CODEC_TYPE_AUDIO, + AVMEDIA_TYPE_AUDIO, CODEC_ID_BINKAUDIO_RDFT, sizeof(BinkAudioContext), decode_init, @@ -300,7 +300,7 @@ AVCodec binkaudio_dct_decoder = { "binkaudio_dct", - CODEC_TYPE_AUDIO, + AVMEDIA_TYPE_AUDIO, CODEC_ID_BINKAUDIO_DCT, sizeof(BinkAudioContext), decode_init,