Make preprocessor condition more specific and useful by changing
authorDiego Biurrun <diego@biurrun.de>
Fri, 11 Jul 2008 07:45:49 +0000 (07:45 +0000)
committerDiego Biurrun <diego@biurrun.de>
Fri, 11 Jul 2008 07:45:49 +0000 (07:45 +0000)
#ifdef CONFIG_ENCODERS --> #ifdef CONFIG_DVVIDEO_ENCODER.

Originally committed as revision 14165 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/dv.c

index 0f28729..a535e18 100644 (file)
@@ -1000,7 +1000,7 @@ static int dv_decode_mt(AVCodecContext *avctx, void* sl)
     return 0;
 }
 
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_DVVIDEO_ENCODER
 static int dv_encode_mt(AVCodecContext *avctx, void* sl)
 {
     DVVideoContext *s = avctx->priv_data;