Mercurial > libavcodec.hg
comparison libspeexdec.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 | 691a0e5585a0 |
children |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
138 return 0; | 138 return 0; |
139 } | 139 } |
140 | 140 |
141 AVCodec libspeex_decoder = { | 141 AVCodec libspeex_decoder = { |
142 "libspeex", | 142 "libspeex", |
143 CODEC_TYPE_AUDIO, | 143 AVMEDIA_TYPE_AUDIO, |
144 CODEC_ID_SPEEX, | 144 CODEC_ID_SPEEX, |
145 sizeof(LibSpeexContext), | 145 sizeof(LibSpeexContext), |
146 libspeex_decode_init, | 146 libspeex_decode_init, |
147 NULL, | 147 NULL, |
148 libspeex_decode_close, | 148 libspeex_decode_close, |