comparison roqvideodec.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
210 return 0; 210 return 0;
211 } 211 }
212 212
213 AVCodec roq_decoder = { 213 AVCodec roq_decoder = {
214 "roqvideo", 214 "roqvideo",
215 CODEC_TYPE_VIDEO, 215 AVMEDIA_TYPE_VIDEO,
216 CODEC_ID_ROQ, 216 CODEC_ID_ROQ,
217 sizeof(RoqContext), 217 sizeof(RoqContext),
218 roq_decode_init, 218 roq_decode_init,
219 NULL, 219 NULL,
220 roq_decode_end, 220 roq_decode_end,