aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/wmv2.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-05-09 18:23:20 +0000
committerDiego Biurrun <diego@biurrun.de>2007-05-09 18:23:20 +0000
commit686dcc1167c052627aa4ca2e2c31d565103080f5 (patch)
treec2713852abb3ae4556e9e243887baa9d0795f002 /libavcodec/wmv2.c
parentf96829d2d00c9c2d0bcabcec821bdf6f13f4493a (diff)
downloadffmpeg-686dcc1167c052627aa4ca2e2c31d565103080f5.tar.gz
Replace general CONFIG_ENCODERS by more fine-grained CONFIG_WMV2_ENCODER.
Originally committed as revision 8952 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/wmv2.c')
-rw-r--r--libavcodec/wmv2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/wmv2.c b/libavcodec/wmv2.c
index 8162f642eb..255a37a26d 100644
--- a/libavcodec/wmv2.c
+++ b/libavcodec/wmv2.c
@@ -61,7 +61,7 @@ static void wmv2_common_init(Wmv2Context * w){
ff_init_scantable(s->dsp.idct_permutation, &w->abt_scantable[1], wmv2_scantableB);
}
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_WMV2_ENCODER
static int encode_ext_header(Wmv2Context *w){
MpegEncContext * const s= &w->s;
@@ -263,7 +263,7 @@ void ff_wmv2_encode_mb(MpegEncContext * s,
msmpeg4_encode_block(s, block[i], i);
}
}
-#endif //CONFIG_ENCODERS
+#endif //CONFIG_WMV2_ENCODER
static void parse_mb_skip(Wmv2Context * w){
int mb_x, mb_y;
@@ -849,7 +849,7 @@ AVCodec wmv2_decoder = {
};
#endif
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_WMV2_ENCODER
AVCodec wmv2_encoder = {
"wmv2",
CODEC_TYPE_VIDEO,