[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec mpegvideo.c,1.472,1.473

Mike Melanson CVS melanson
Tue Apr 19 06:29:13 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec
In directory mail:/var2/tmp/cvs-serv12332/libavcodec

Modified Files:
	mpegvideo.c 
Log Message:
remove superfluous CONFIG_ENCODERS (entire function is already wrapped)


Index: mpegvideo.c
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/mpegvideo.c,v
retrieving revision 1.472
retrieving revision 1.473
diff -u -d -r1.472 -r1.473
--- mpegvideo.c	27 Mar 2005 12:19:59 -0000	1.472
+++ mpegvideo.c	19 Apr 2005 04:29:11 -0000	1.473
@@ -241,7 +241,7 @@
 #ifdef CONFIG_ENCODERS
     s->dct_quantize= dct_quantize_c;
     s->denoise_dct= denoise_dct_c;
-#endif
+#endif //CONFIG_ENCODERS
         
 #ifdef HAVE_MMX
     MPV_common_init_mmx(s);
@@ -1255,7 +1255,6 @@
     ff_set_cmp(&s->dsp, s->dsp.ildct_cmp, s->avctx->ildct_cmp);
     ff_set_cmp(&s->dsp, s->dsp.frame_skip_cmp, s->avctx->frame_skip_cmp);
     
-#ifdef CONFIG_ENCODERS
     if (s->out_format == FMT_H261)
         ff_h261_encode_init(s);
     if (s->out_format == FMT_H263)
@@ -1264,7 +1263,6 @@
         ff_msmpeg4_encode_init(s);
     if (s->out_format == FMT_MPEG1)
         ff_mpeg1_encode_init(s);
-#endif
 
     /* init q matrix */
     for(i=0;i<64;i++) {





More information about the ffmpeg-cvslog mailing list