Mercurial > libavcodec.hg
comparison 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 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
286 return buf_size; | 286 return buf_size; |
287 } | 287 } |
288 | 288 |
289 AVCodec binkaudio_rdft_decoder = { | 289 AVCodec binkaudio_rdft_decoder = { |
290 "binkaudio_rdft", | 290 "binkaudio_rdft", |
291 CODEC_TYPE_AUDIO, | 291 AVMEDIA_TYPE_AUDIO, |
292 CODEC_ID_BINKAUDIO_RDFT, | 292 CODEC_ID_BINKAUDIO_RDFT, |
293 sizeof(BinkAudioContext), | 293 sizeof(BinkAudioContext), |
294 decode_init, | 294 decode_init, |
295 NULL, | 295 NULL, |
296 decode_end, | 296 decode_end, |
298 .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)") | 298 .long_name = NULL_IF_CONFIG_SMALL("Bink Audio (RDFT)") |
299 }; | 299 }; |
300 | 300 |
301 AVCodec binkaudio_dct_decoder = { | 301 AVCodec binkaudio_dct_decoder = { |
302 "binkaudio_dct", | 302 "binkaudio_dct", |
303 CODEC_TYPE_AUDIO, | 303 AVMEDIA_TYPE_AUDIO, |
304 CODEC_ID_BINKAUDIO_DCT, | 304 CODEC_ID_BINKAUDIO_DCT, |
305 sizeof(BinkAudioContext), | 305 sizeof(BinkAudioContext), |
306 decode_init, | 306 decode_init, |
307 NULL, | 307 NULL, |
308 decode_end, | 308 decode_end, |