lowres2 support.
[ffmpeg.git] / libavcodec / alpha / dsputil_alpha.c
index ed9416ea8ccc0b6ff273a92c07dcd2517fbd1fe2..db2464b02f526e50d8daa9f856d08cc3a5a6b89a 100644 (file)
@@ -336,7 +336,7 @@ void ff_dsputil_init_alpha(DSPContext* c, AVCodecContext *avctx)
     put_pixels_clamped_axp_p = c->put_pixels_clamped;
     add_pixels_clamped_axp_p = c->add_pixels_clamped;
 
-    if (avctx->bits_per_raw_sample <= 8 &&
+    if (!avctx->lowres && avctx->bits_per_raw_sample <= 8 &&
         (avctx->idct_algo == FF_IDCT_AUTO ||
          avctx->idct_algo == FF_IDCT_SIMPLEALPHA)) {
         c->idct_put = ff_simple_idct_put_axp;