Mercurial > libavcodec.hg
comparison aacenc.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 | 3d011a01a6a0 |
children | baf1f1555e92 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
627 return 0; | 627 return 0; |
628 } | 628 } |
629 | 629 |
630 AVCodec aac_encoder = { | 630 AVCodec aac_encoder = { |
631 "aac", | 631 "aac", |
632 CODEC_TYPE_AUDIO, | 632 AVMEDIA_TYPE_AUDIO, |
633 CODEC_ID_AAC, | 633 CODEC_ID_AAC, |
634 sizeof(AACEncContext), | 634 sizeof(AACEncContext), |
635 aac_encode_init, | 635 aac_encode_init, |
636 aac_encode_frame, | 636 aac_encode_frame, |
637 aac_encode_end, | 637 aac_encode_end, |