Mercurial > libavcodec.hg
comparison mdec.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 | 98970e51365a |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
248 return 0; | 248 return 0; |
249 } | 249 } |
250 | 250 |
251 AVCodec mdec_decoder = { | 251 AVCodec mdec_decoder = { |
252 "mdec", | 252 "mdec", |
253 CODEC_TYPE_VIDEO, | 253 AVMEDIA_TYPE_VIDEO, |
254 CODEC_ID_MDEC, | 254 CODEC_ID_MDEC, |
255 sizeof(MDECContext), | 255 sizeof(MDECContext), |
256 decode_init, | 256 decode_init, |
257 NULL, | 257 NULL, |
258 decode_end, | 258 decode_end, |