Mercurial > libavcodec.hg
comparison eamad.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 |
---|---|
305 return 0; | 305 return 0; |
306 } | 306 } |
307 | 307 |
308 AVCodec eamad_decoder = { | 308 AVCodec eamad_decoder = { |
309 "eamad", | 309 "eamad", |
310 CODEC_TYPE_VIDEO, | 310 AVMEDIA_TYPE_VIDEO, |
311 CODEC_ID_MAD, | 311 CODEC_ID_MAD, |
312 sizeof(MadContext), | 312 sizeof(MadContext), |
313 decode_init, | 313 decode_init, |
314 NULL, | 314 NULL, |
315 decode_end, | 315 decode_end, |