comparison xan.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 fb7d1f0e8bc6
children 7dd2a45249a9
comparison
equal deleted inserted replaced
11559:444f4b594fdb 11560:8a4984c5cacc
415 return 0; 415 return 0;
416 } 416 }
417 417
418 AVCodec xan_wc3_decoder = { 418 AVCodec xan_wc3_decoder = {
419 "xan_wc3", 419 "xan_wc3",
420 CODEC_TYPE_VIDEO, 420 AVMEDIA_TYPE_VIDEO,
421 CODEC_ID_XAN_WC3, 421 CODEC_ID_XAN_WC3,
422 sizeof(XanContext), 422 sizeof(XanContext),
423 xan_decode_init, 423 xan_decode_init,
424 NULL, 424 NULL,
425 xan_decode_end, 425 xan_decode_end,
429 }; 429 };
430 430
431 /* 431 /*
432 AVCodec xan_wc4_decoder = { 432 AVCodec xan_wc4_decoder = {
433 "xan_wc4", 433 "xan_wc4",
434 CODEC_TYPE_VIDEO, 434 AVMEDIA_TYPE_VIDEO,
435 CODEC_ID_XAN_WC4, 435 CODEC_ID_XAN_WC4,
436 sizeof(XanContext), 436 sizeof(XanContext),
437 xan_decode_init, 437 xan_decode_init,
438 NULL, 438 NULL,
439 xan_decode_end, 439 xan_decode_end,