comparison wmv2.c @ 4947:6a4e8b52dc7b libavcodec

Allow conditional compilation of H.263-related decoders.
author diego
date Wed, 09 May 2007 09:26:06 +0000
parents a96d905dcbaa
children 665c61d35b52
comparison
equal deleted inserted replaced
4946:c1fb4544bd59 4947:6a4e8b52dc7b
833 wmv2_common_init(w); 833 wmv2_common_init(w);
834 834
835 return 0; 835 return 0;
836 } 836 }
837 837
838 #ifdef CONFIG_WMV2_DECODER
838 AVCodec wmv2_decoder = { 839 AVCodec wmv2_decoder = {
839 "wmv2", 840 "wmv2",
840 CODEC_TYPE_VIDEO, 841 CODEC_TYPE_VIDEO,
841 CODEC_ID_WMV2, 842 CODEC_ID_WMV2,
842 sizeof(Wmv2Context), 843 sizeof(Wmv2Context),
844 NULL, 845 NULL,
845 ff_h263_decode_end, 846 ff_h263_decode_end,
846 ff_h263_decode_frame, 847 ff_h263_decode_frame,
847 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1, 848 CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
848 }; 849 };
850 #endif
849 851
850 #ifdef CONFIG_ENCODERS 852 #ifdef CONFIG_ENCODERS
851 AVCodec wmv2_encoder = { 853 AVCodec wmv2_encoder = {
852 "wmv2", 854 "wmv2",
853 CODEC_TYPE_VIDEO, 855 CODEC_TYPE_VIDEO,