Unified · Split
| @@ -249,7 +249,7 @@ av_cold void ff_idctdsp_init_ppc(IDCTDSPContext *c, AVCodecContext *avctx, · 248 unmodified lines | ||
| 249 | 249 | #if HAVE_ALTIVEC |
| 250 | 250 | if (PPC_ALTIVEC(av_get_cpu_flags())) { |
| 251 | 251 | if (!high_bit_depth && avctx->lowres == 0) { |
| 252 | − if ((avctx->idct_algo == FF_IDCT_AUTO) || | |
| 252 | + if ((avctx->idct_algo == FF_IDCT_AUTO && !(avctx->flags & CODEC_FLAG_BITEXACT)) || | |
| 253 | 253 | (avctx->idct_algo == FF_IDCT_ALTIVEC)) { |
| 254 | 254 | c->idct = idct_altivec; |
| 255 | 255 | c->idct_add = idct_add_altivec; |