[FFmpeg-cvslog] r8952 - trunk/libavcodec/wmv2.c
diego
subversion
Wed May 9 20:23:20 CEST 2007
Author: diego
Date: Wed May 9 20:23:20 2007
New Revision: 8952
Log:
Replace general CONFIG_ENCODERS by more fine-grained CONFIG_WMV2_ENCODER.
Modified:
trunk/libavcodec/wmv2.c
Modified: trunk/libavcodec/wmv2.c
==============================================================================
--- trunk/libavcodec/wmv2.c (original)
+++ trunk/libavcodec/wmv2.c Wed May 9 20:23:20 2007
@@ -61,7 +61,7 @@ static void wmv2_common_init(Wmv2Context
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 *
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,
More information about the ffmpeg-cvslog
mailing list