comparison gifdec.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 a7a5ffa5774b
children 914f484bb476
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
326 return 0; 326 return 0;
327 } 327 }
328 328
329 AVCodec gif_decoder = { 329 AVCodec gif_decoder = {
330 "gif", 330 "gif",
331 CODEC_TYPE_VIDEO, 331 AVMEDIA_TYPE_VIDEO,
332 CODEC_ID_GIF, 332 CODEC_ID_GIF,
333 sizeof(GifState), 333 sizeof(GifState),
334 gif_decode_init, 334 gif_decode_init,
335 NULL, 335 NULL,
336 gif_decode_close, 336 gif_decode_close,