Mercurial > libavcodec.hg
comparison mmvideo.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 | fc001a3aa390 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
198 return 0; | 198 return 0; |
199 } | 199 } |
200 | 200 |
201 AVCodec mmvideo_decoder = { | 201 AVCodec mmvideo_decoder = { |
202 "mmvideo", | 202 "mmvideo", |
203 CODEC_TYPE_VIDEO, | 203 AVMEDIA_TYPE_VIDEO, |
204 CODEC_ID_MMVIDEO, | 204 CODEC_ID_MMVIDEO, |
205 sizeof(MmContext), | 205 sizeof(MmContext), |
206 mm_decode_init, | 206 mm_decode_init, |
207 NULL, | 207 NULL, |
208 mm_decode_end, | 208 mm_decode_end, |