Mercurial > libavcodec.hg
comparison msvideo1.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 | 5da84f0d0a55 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
331 return 0; | 331 return 0; |
332 } | 332 } |
333 | 333 |
334 AVCodec msvideo1_decoder = { | 334 AVCodec msvideo1_decoder = { |
335 "msvideo1", | 335 "msvideo1", |
336 CODEC_TYPE_VIDEO, | 336 AVMEDIA_TYPE_VIDEO, |
337 CODEC_ID_MSVIDEO1, | 337 CODEC_ID_MSVIDEO1, |
338 sizeof(Msvideo1Context), | 338 sizeof(Msvideo1Context), |
339 msvideo1_decode_init, | 339 msvideo1_decode_init, |
340 NULL, | 340 NULL, |
341 msvideo1_decode_end, | 341 msvideo1_decode_end, |