Mercurial > libavcodec.hg
comparison libfaad.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 | 3ef57f4fa579 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
320 return 0; | 320 return 0; |
321 } | 321 } |
322 | 322 |
323 AVCodec libfaad_decoder = { | 323 AVCodec libfaad_decoder = { |
324 "libfaad", | 324 "libfaad", |
325 CODEC_TYPE_AUDIO, | 325 AVMEDIA_TYPE_AUDIO, |
326 CODEC_ID_AAC, | 326 CODEC_ID_AAC, |
327 sizeof(FAACContext), | 327 sizeof(FAACContext), |
328 faac_decode_init, | 328 faac_decode_init, |
329 NULL, | 329 NULL, |
330 faac_decode_end, | 330 faac_decode_end, |