Mercurial > libavcodec.hg
comparison sp5xdec.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 | 8d60502aead2 |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
193 return i; | 193 return i; |
194 } | 194 } |
195 | 195 |
196 AVCodec sp5x_decoder = { | 196 AVCodec sp5x_decoder = { |
197 "sp5x", | 197 "sp5x", |
198 CODEC_TYPE_VIDEO, | 198 AVMEDIA_TYPE_VIDEO, |
199 CODEC_ID_SP5X, | 199 CODEC_ID_SP5X, |
200 sizeof(MJpegDecodeContext), | 200 sizeof(MJpegDecodeContext), |
201 ff_mjpeg_decode_init, | 201 ff_mjpeg_decode_init, |
202 NULL, | 202 NULL, |
203 ff_mjpeg_decode_end, | 203 ff_mjpeg_decode_end, |
207 .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), | 207 .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"), |
208 }; | 208 }; |
209 | 209 |
210 AVCodec amv_decoder = { | 210 AVCodec amv_decoder = { |
211 "amv", | 211 "amv", |
212 CODEC_TYPE_VIDEO, | 212 AVMEDIA_TYPE_VIDEO, |
213 CODEC_ID_AMV, | 213 CODEC_ID_AMV, |
214 sizeof(MJpegDecodeContext), | 214 sizeof(MJpegDecodeContext), |
215 ff_mjpeg_decode_init, | 215 ff_mjpeg_decode_init, |
216 NULL, | 216 NULL, |
217 ff_mjpeg_decode_end, | 217 ff_mjpeg_decode_end, |