Mercurial > libavcodec.hg
comparison yop.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 | d35c3095f96b |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
247 return avpkt->size; | 247 return avpkt->size; |
248 } | 248 } |
249 | 249 |
250 AVCodec yop_decoder = { | 250 AVCodec yop_decoder = { |
251 "yop", | 251 "yop", |
252 CODEC_TYPE_VIDEO, | 252 AVMEDIA_TYPE_VIDEO, |
253 CODEC_ID_YOP, | 253 CODEC_ID_YOP, |
254 sizeof(YopDecContext), | 254 sizeof(YopDecContext), |
255 yop_decode_init, | 255 yop_decode_init, |
256 NULL, | 256 NULL, |
257 yop_decode_close, | 257 yop_decode_close, |