Mercurial > libavcodec.hg
comparison vorbis_dec.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 | 4b3da727d832 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
1643 return 0 ; | 1643 return 0 ; |
1644 } | 1644 } |
1645 | 1645 |
1646 AVCodec vorbis_decoder = { | 1646 AVCodec vorbis_decoder = { |
1647 "vorbis", | 1647 "vorbis", |
1648 CODEC_TYPE_AUDIO, | 1648 AVMEDIA_TYPE_AUDIO, |
1649 CODEC_ID_VORBIS, | 1649 CODEC_ID_VORBIS, |
1650 sizeof(vorbis_context), | 1650 sizeof(vorbis_context), |
1651 vorbis_decode_init, | 1651 vorbis_decode_init, |
1652 NULL, | 1652 NULL, |
1653 vorbis_decode_close, | 1653 vorbis_decode_close, |