summaryrefslogtreecommitdiff
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-05-09 09:26:06 +0000
committerDiego Biurrun <diego@biurrun.de>2007-05-09 09:26:06 +0000
commit4a815a7f6493addd7f268a557a431a2afe60679f (patch)
treea2e6453b5d109d010a7e5cca5030621ad6c87403 /libavcodec/wmv2.c
parent2462e4b76516ea405f525db034cd7a53816a47e0 (diff)
Allow conditional compilation of H.263-related decoders.
Originally committed as revision 8949 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index d57eaa5e4a..8162f642eb 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -835,6 +835,7 @@ static int wmv2_decode_init(AVCodecContext *avctx){
return 0;
}
+#ifdef CONFIG_WMV2_DECODER
AVCodec wmv2_decoder = {
"wmv2",
CODEC_TYPE_VIDEO,
@@ -846,6 +847,7 @@ AVCodec wmv2_decoder = {
ff_h263_decode_frame,
CODEC_CAP_DRAW_HORIZ_BAND | CODEC_CAP_DR1,
};
+#endif
#ifdef CONFIG_ENCODERS
AVCodec wmv2_encoder = {