aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv10.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-09-03 12:33:21 +0000
committerDiego Biurrun <diego@biurrun.de>2008-09-03 12:33:21 +0000
commitf544a5fc84975879746f619e01b6f1e80844e59e (patch)
tree888967928796e772987ca8a3ad5834b7029beb27 /libavcodec/rv10.c
parentbb6c34e55b158c457272046ed9f22b974e832fb5 (diff)
downloadffmpeg-f544a5fc84975879746f619e01b6f1e80844e59e.tar.gz
Replace generic CONFIG_ENCODERS preprocessor conditionals by more specific
CONFIG_FOO_ENCODER conditionals where appropriate. Originally committed as revision 15174 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r--libavcodec/rv10.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c
index 86f8aeb1bc..938e44694c 100644
--- a/libavcodec/rv10.c
+++ b/libavcodec/rv10.c
@@ -229,8 +229,8 @@ int rv_decode_dc(MpegEncContext *s, int n)
return -code;
}
-#ifdef CONFIG_ENCODERS
+#if defined(CONFIG_RV10_ENCODER) || defined(CONFIG_RV20_ENCODER)
/* write RV 1.0 compatible frame header */
void rv10_encode_picture_header(MpegEncContext *s, int picture_number)
{
@@ -304,7 +304,7 @@ static int get_num(GetBitContext *gb)
}
#endif
-#endif //CONFIG_ENCODERS
+#endif /* defined(CONFIG_RV10_ENCODER) || defined(CONFIG_RV20_ENCODER) */
/* read RV 1.0 compatible frame header */
static int rv10_decode_picture_header(MpegEncContext *s)