changeset 9996:38a57d201569 libavcodec

Only enable WMV3 decoder when it has been turned on in the build system.
author diego
date Wed, 29 Jul 2009 11:31:52 +0000
parents 3141f69e3905
children 53d8841d4cc5
files vc1dec.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vc1dec.c	Wed Jul 29 09:54:49 2009 +0000
+++ b/vc1dec.c	Wed Jul 29 11:31:52 2009 +0000
@@ -3333,6 +3333,7 @@
     .pix_fmts = ff_hwaccel_pixfmt_list_420
 };
 
+#if CONFIG_WMV3_DECODER
 AVCodec wmv3_decoder = {
     "wmv3",
     CODEC_TYPE_VIDEO,
@@ -3347,6 +3348,7 @@
     .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 = {