comparison pcx.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 2422415a296c
children 150c7c236e78
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
242 return 0; 242 return 0;
243 } 243 }
244 244
245 AVCodec pcx_decoder = { 245 AVCodec pcx_decoder = {
246 "pcx", 246 "pcx",
247 CODEC_TYPE_VIDEO, 247 AVMEDIA_TYPE_VIDEO,
248 CODEC_ID_PCX, 248 CODEC_ID_PCX,
249 sizeof(PCXContext), 249 sizeof(PCXContext),
250 pcx_init, 250 pcx_init,
251 NULL, 251 NULL,
252 pcx_end, 252 pcx_end,