Mercurial > libavcodec.hg
comparison rv10.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 | 86bf7e0db6ea |
children | 7dd2a45249a9 |
comparison
equal
deleted
inserted
replaced
11559:444f4b594fdb | 11560:8a4984c5cacc |
---|---|
706 return buf_size; | 706 return buf_size; |
707 } | 707 } |
708 | 708 |
709 AVCodec rv10_decoder = { | 709 AVCodec rv10_decoder = { |
710 "rv10", | 710 "rv10", |
711 CODEC_TYPE_VIDEO, | 711 AVMEDIA_TYPE_VIDEO, |
712 CODEC_ID_RV10, | 712 CODEC_ID_RV10, |
713 sizeof(MpegEncContext), | 713 sizeof(MpegEncContext), |
714 rv10_decode_init, | 714 rv10_decode_init, |
715 NULL, | 715 NULL, |
716 rv10_decode_end, | 716 rv10_decode_end, |
720 .pix_fmts= ff_pixfmt_list_420, | 720 .pix_fmts= ff_pixfmt_list_420, |
721 }; | 721 }; |
722 | 722 |
723 AVCodec rv20_decoder = { | 723 AVCodec rv20_decoder = { |
724 "rv20", | 724 "rv20", |
725 CODEC_TYPE_VIDEO, | 725 AVMEDIA_TYPE_VIDEO, |
726 CODEC_ID_RV20, | 726 CODEC_ID_RV20, |
727 sizeof(MpegEncContext), | 727 sizeof(MpegEncContext), |
728 rv10_decode_init, | 728 rv10_decode_init, |
729 NULL, | 729 NULL, |
730 rv10_decode_end, | 730 rv10_decode_end, |