Mercurial > libavcodec.hg
comparison mpeg4videodec.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 | b94e1810ce4c |
children | c35d7bc64882 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
2234 return 0; | 2234 return 0; |
2235 } | 2235 } |
2236 | 2236 |
2237 AVCodec mpeg4_decoder = { | 2237 AVCodec mpeg4_decoder = { |
2238 "mpeg4", | 2238 "mpeg4", |
2239 CODEC_TYPE_VIDEO, | 2239 AVMEDIA_TYPE_VIDEO, |
2240 CODEC_ID_MPEG4, | 2240 CODEC_ID_MPEG4, |
2241 sizeof(MpegEncContext), | 2241 sizeof(MpegEncContext), |
2242 decode_init, | 2242 decode_init, |
2243 NULL, | 2243 NULL, |
2244 ff_h263_decode_end, | 2244 ff_h263_decode_end, |
2251 | 2251 |
2252 | 2252 |
2253 #if CONFIG_MPEG4_VDPAU_DECODER | 2253 #if CONFIG_MPEG4_VDPAU_DECODER |
2254 AVCodec mpeg4_vdpau_decoder = { | 2254 AVCodec mpeg4_vdpau_decoder = { |
2255 "mpeg4_vdpau", | 2255 "mpeg4_vdpau", |
2256 CODEC_TYPE_VIDEO, | 2256 AVMEDIA_TYPE_VIDEO, |
2257 CODEC_ID_MPEG4, | 2257 CODEC_ID_MPEG4, |
2258 sizeof(MpegEncContext), | 2258 sizeof(MpegEncContext), |
2259 decode_init, | 2259 decode_init, |
2260 NULL, | 2260 NULL, |
2261 ff_h263_decode_end, | 2261 ff_h263_decode_end, |