diff mpegvideo_enc.c @ 10029:67a1b27648b2 libavcodec

Do not redundantly check for preprocessor definitions of CONFIG_RV10_ENCODER or CONFIG_RV20_ENCODER when also checking for CONFIG_H263_ENCODER. The RV10/RV20 encoders depend on the H.263 encoder.
author diego
date Wed, 05 Aug 2009 10:46:43 +0000
parents fef7b43f0d22
children 29c9829a9684
line wrap: on
line diff
--- a/mpegvideo_enc.c	Wed Aug 05 10:44:12 2009 +0000
+++ b/mpegvideo_enc.c	Wed Aug 05 10:46:43 2009 +0000
@@ -1724,8 +1724,7 @@
     case CODEC_ID_FLV1:
     case CODEC_ID_RV10:
     case CODEC_ID_RV20:
-        if (CONFIG_H263_ENCODER || CONFIG_H263P_ENCODER ||
-            CONFIG_FLV_ENCODER  || CONFIG_RV10_ENCODER  || CONFIG_RV20_ENCODER)
+        if (CONFIG_H263_ENCODER || CONFIG_H263P_ENCODER || CONFIG_FLV_ENCODER)
             h263_encode_mb(s, s->block, motion_x, motion_y);
         break;
     case CODEC_ID_MJPEG: