comparison cinepak.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
455 return 0; 455 return 0;
456 } 456 }
457 457
458 AVCodec cinepak_decoder = { 458 AVCodec cinepak_decoder = {
459 "cinepak", 459 "cinepak",
460 CODEC_TYPE_VIDEO, 460 AVMEDIA_TYPE_VIDEO,
461 CODEC_ID_CINEPAK, 461 CODEC_ID_CINEPAK,
462 sizeof(CinepakContext), 462 sizeof(CinepakContext),
463 cinepak_decode_init, 463 cinepak_decode_init,
464 NULL, 464 NULL,
465 cinepak_decode_end, 465 cinepak_decode_end,