Only enable WMV3 decoder when it has been turned on in the build system.
authorDiego Biurrun <diego@biurrun.de>
Wed, 29 Jul 2009 11:31:52 +0000 (11:31 +0000)
committerDiego Biurrun <diego@biurrun.de>
Wed, 29 Jul 2009 11:31:52 +0000 (11:31 +0000)
Originally committed as revision 19534 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/vc1dec.c

index ad4125d..998428d 100644 (file)
@@ -3333,6 +3333,7 @@ AVCodec vc1_decoder = {
     .pix_fmts = ff_hwaccel_pixfmt_list_420
 };
 
+#if CONFIG_WMV3_DECODER
 AVCodec wmv3_decoder = {
     "wmv3",
     CODEC_TYPE_VIDEO,
@@ -3347,6 +3348,7 @@ AVCodec wmv3_decoder = {
     .long_name = NULL_IF_CONFIG_SMALL("Windows Media Video 9"),
     .pix_fmts = ff_hwaccel_pixfmt_list_420
 };
+#endif
 
 #if CONFIG_WMV3_VDPAU_DECODER
 AVCodec wmv3_vdpau_decoder = {