lowres2 support.
[ffmpeg.git] / libavcodec / arm / dsputil_init_arm.c
index 2bc97bfa4eca8b7fa4cee216f39bcb5bcf5508c4..03df6b29d0f1e053e13e78fb5bd2b6135358138b 100644 (file)
@@ -82,7 +82,7 @@ void ff_dsputil_init_arm(DSPContext* c, AVCodecContext *avctx)
     ff_put_pixels_clamped = c->put_pixels_clamped;
     ff_add_pixels_clamped = c->add_pixels_clamped;
 
-    if (avctx->bits_per_raw_sample <= 8) {
+    if (!avctx->lowres && avctx->bits_per_raw_sample <= 8) {
         if(avctx->idct_algo == FF_IDCT_AUTO ||
            avctx->idct_algo == FF_IDCT_ARM){
             c->idct_put              = j_rev_dct_arm_put;