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
This commit is contained in:
Diego Biurrun 2009-07-29 11:31:52 +00:00
parent 9be6f0d2f8
commit 700363afe7

View 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 = {