Mercurial > libavcodec.hg
comparison vp3.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 | 445659683743 |
children | 0c2b399b2e27 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
2189 return vp3_decode_init(avctx); | 2189 return vp3_decode_init(avctx); |
2190 } | 2190 } |
2191 | 2191 |
2192 AVCodec theora_decoder = { | 2192 AVCodec theora_decoder = { |
2193 "theora", | 2193 "theora", |
2194 CODEC_TYPE_VIDEO, | 2194 AVMEDIA_TYPE_VIDEO, |
2195 CODEC_ID_THEORA, | 2195 CODEC_ID_THEORA, |
2196 sizeof(Vp3DecodeContext), | 2196 sizeof(Vp3DecodeContext), |
2197 theora_decode_init, | 2197 theora_decode_init, |
2198 NULL, | 2198 NULL, |
2199 vp3_decode_end, | 2199 vp3_decode_end, |
2204 }; | 2204 }; |
2205 #endif | 2205 #endif |
2206 | 2206 |
2207 AVCodec vp3_decoder = { | 2207 AVCodec vp3_decoder = { |
2208 "vp3", | 2208 "vp3", |
2209 CODEC_TYPE_VIDEO, | 2209 AVMEDIA_TYPE_VIDEO, |
2210 CODEC_ID_VP3, | 2210 CODEC_ID_VP3, |
2211 sizeof(Vp3DecodeContext), | 2211 sizeof(Vp3DecodeContext), |
2212 vp3_decode_init, | 2212 vp3_decode_init, |
2213 NULL, | 2213 NULL, |
2214 vp3_decode_end, | 2214 vp3_decode_end, |