changeset 4950:665c61d35b52 libavcodec

Replace general CONFIG_ENCODERS by more fine-grained CONFIG_WMV2_ENCODER.
author diego
date Wed, 09 May 2007 18:23:20 +0000
parents 845386be542c
children 8f6eda4a0d1e
files wmv2.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/wmv2.c	Wed May 09 16:59:46 2007 +0000
+++ b/wmv2.c	Wed May 09 18:23:20 2007 +0000
@@ -61,7 +61,7 @@
     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 @@
         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 @@
 };
 #endif
 
-#ifdef CONFIG_ENCODERS
+#ifdef CONFIG_WMV2_ENCODER
 AVCodec wmv2_encoder = {
     "wmv2",
     CODEC_TYPE_VIDEO,