diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-07-29 11:31:52 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-07-29 11:31:52 +0000 |
commit | 700363afe74e9087c859e649f550577e4f384fbd (patch) | |
tree | b395dda8d16d224b7660e13acf307d1757e80ded | |
parent | 9be6f0d2f8393100a11c8527c7ba18c1dc2f1450 (diff) | |
download | ffmpeg-700363afe74e9087c859e649f550577e4f384fbd.tar.gz |
Only enable WMV3 decoder when it has been turned on in the build system.
Originally committed as revision 19534 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/vc1dec.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index ad4125de8f..998428d1a9 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -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 = { |