comparison rv10.c @ 9028:0f95e4f0a3f5 libavcodec

Add and use ff_pixfmt_list_420.
author michael
date Tue, 24 Feb 2009 18:27:52 +0000
parents 91007f70b81a
children 54bc8a2727b0
comparison
equal deleted inserted replaced
9027:3c141db76660 9028:0f95e4f0a3f5
792 NULL, 792 NULL,
793 rv10_decode_end, 793 rv10_decode_end,
794 rv10_decode_frame, 794 rv10_decode_frame,
795 CODEC_CAP_DR1, 795 CODEC_CAP_DR1,
796 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"), 796 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 1.0"),
797 .pix_fmts= ff_pixfmt_list_420,
797 }; 798 };
798 799
799 AVCodec rv20_decoder = { 800 AVCodec rv20_decoder = {
800 "rv20", 801 "rv20",
801 CODEC_TYPE_VIDEO, 802 CODEC_TYPE_VIDEO,
806 rv10_decode_end, 807 rv10_decode_end,
807 rv10_decode_frame, 808 rv10_decode_frame,
808 CODEC_CAP_DR1 | CODEC_CAP_DELAY, 809 CODEC_CAP_DR1 | CODEC_CAP_DELAY,
809 .flush= ff_mpeg_flush, 810 .flush= ff_mpeg_flush,
810 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"), 811 .long_name = NULL_IF_CONFIG_SMALL("RealVideo 2.0"),
812 .pix_fmts= ff_pixfmt_list_420,
811 }; 813 };
812 814