diff mpegvideo.c @ 5211:413c5e2eff68 libavcodec

move mpeg encoder specific initialization in the encoder specific file
author aurel
date Thu, 05 Jul 2007 09:48:29 +0000
parents 1c3baf4323bb
children 4738fae7555a
line wrap: on
line diff
--- a/mpegvideo.c	Thu Jul 05 09:21:55 2007 +0000
+++ b/mpegvideo.c	Thu Jul 05 09:48:29 2007 +0000
@@ -162,19 +162,6 @@
     MPV_common_init_bfin(s);
 #endif
 
-#ifdef CONFIG_ENCODERS
-    if(!s->dct_quantize)
-        s->dct_quantize= dct_quantize_c;
-    if(!s->denoise_dct)
-        s->denoise_dct= denoise_dct_c;
-    s->fast_dct_quantize= s->dct_quantize;
-
-    if(s->flags&CODEC_FLAG_TRELLIS_QUANT){
-        s->dct_quantize= dct_quantize_trellis_c; //move before MPV_common_init_*
-    }
-
-#endif //CONFIG_ENCODERS
-
     /* load & permutate scantables
        note: only wmv uses different ones
     */