Revision 255eccab libavcodec/mpegvideo.c

View differences:

libavcodec/mpegvideo.c
271 271
        s->dct_unquantize_mpeg2_intra = dct_unquantize_mpeg2_intra_bitexact;
272 272
    s->dct_unquantize_mpeg2_inter = dct_unquantize_mpeg2_inter_c;
273 273

  
274
#ifdef CONFIG_ENCODERS
275
    s->dct_quantize= dct_quantize_c;
276
    s->denoise_dct= denoise_dct_c;
277
#endif //CONFIG_ENCODERS
278

  
279 274
#if defined(HAVE_MMX)
280 275
    MPV_common_init_mmx(s);
281 276
#elif defined(ARCH_ALPHA)
......
293 288
#endif
294 289

  
295 290
#ifdef CONFIG_ENCODERS
291
    if(!s->dct_quantize)
292
        s->dct_quantize= dct_quantize_c;
293
    if(!s->denoise_dct)
294
        s->denoise_dct= denoise_dct_c;
296 295
    s->fast_dct_quantize= s->dct_quantize;
297 296

  
298 297
    if(s->flags&CODEC_FLAG_TRELLIS_QUANT){

Also available in: Unified diff