Revision 4edda034 libavcodec/dsputil.c

View differences:

libavcodec/dsputil.c
3858 3858
#endif //CONFIG_ENCODERS
3859 3859

  
3860 3860
    if(avctx->lowres==1){
3861
        if(avctx->idct_algo==FF_IDCT_INT || avctx->idct_algo==FF_IDCT_AUTO){
3861
        if(avctx->idct_algo==FF_IDCT_INT || avctx->idct_algo==FF_IDCT_AUTO || !ENABLE_H264_DECODER){
3862 3862
            c->idct_put= ff_jref_idct4_put;
3863 3863
            c->idct_add= ff_jref_idct4_add;
3864 3864
        }else{
......
3897 3897
        }
3898 3898
    }
3899 3899

  
3900
    if (ENABLE_H264_DECODER) {
3900 3901
    c->h264_idct_add= ff_h264_idct_add_c;
3901 3902
    c->h264_idct8_add= ff_h264_idct8_add_c;
3902 3903
    c->h264_idct_dc_add= ff_h264_idct_dc_add_c;
3903 3904
    c->h264_idct8_dc_add= ff_h264_idct8_dc_add_c;
3905
    }
3904 3906

  
3905 3907
    c->get_pixels = get_pixels_c;
3906 3908
    c->diff_pixels = diff_pixels_c;

Also available in: Unified diff