Mercurial > libavcodec.hg
comparison libfaac.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 | 7955db355703 |
| children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
| 11559:444f4b594fdb | 11560:8a4984c5cacc |
|---|---|
| 145 return 0; | 145 return 0; |
| 146 } | 146 } |
| 147 | 147 |
| 148 AVCodec libfaac_encoder = { | 148 AVCodec libfaac_encoder = { |
| 149 "libfaac", | 149 "libfaac", |
| 150 CODEC_TYPE_AUDIO, | 150 AVMEDIA_TYPE_AUDIO, |
| 151 CODEC_ID_AAC, | 151 CODEC_ID_AAC, |
| 152 sizeof(FaacAudioContext), | 152 sizeof(FaacAudioContext), |
| 153 Faac_encode_init, | 153 Faac_encode_init, |
| 154 Faac_encode_frame, | 154 Faac_encode_frame, |
| 155 Faac_encode_close, | 155 Faac_encode_close, |
