comparison wmv2dec.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 d0657e337f91
children c35d7bc64882
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
484 return ff_h263_decode_end(avctx); 484 return ff_h263_decode_end(avctx);
485 } 485 }
486 486
487 AVCodec wmv2_decoder = { 487 AVCodec wmv2_decoder = {
488 "wmv2", 488 "wmv2",
489 CODEC_TYPE_VIDEO, 489 AVMEDIA_TYPE_VIDEO,
490 CODEC_ID_WMV2, 490 CODEC_ID_WMV2,
491 sizeof(Wmv2Context), 491 sizeof(Wmv2Context),
492 wmv2_decode_init, 492 wmv2_decode_init,
493 NULL, 493 NULL,
494 wmv2_decode_end, 494 wmv2_decode_end,