Mercurial > libavcodec.hg
comparison flacdec.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 | 87b01c645235 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
797 s->bitstream_index= 0; | 797 s->bitstream_index= 0; |
798 } | 798 } |
799 | 799 |
800 AVCodec flac_decoder = { | 800 AVCodec flac_decoder = { |
801 "flac", | 801 "flac", |
802 CODEC_TYPE_AUDIO, | 802 AVMEDIA_TYPE_AUDIO, |
803 CODEC_ID_FLAC, | 803 CODEC_ID_FLAC, |
804 sizeof(FLACContext), | 804 sizeof(FLACContext), |
805 flac_decode_init, | 805 flac_decode_init, |
806 NULL, | 806 NULL, |
807 flac_decode_close, | 807 flac_decode_close, |