diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2014-07-27 16:16:07 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-07-27 16:21:36 +0400 |
commit | b051a1bbb965ce43caa44476e806bf170a9129c2 (patch) | |
tree | 9000e1594ebbd20d04ed87a84521573d064fc954 /libavcodec/arm/idctdsp_init_arm.c | |
parent | c2ef844aa74c56b72a135fb389e346845ed7be50 (diff) |
avcodec/arm/idctdsp_init_arm*: Only select non bitexact IDCTs by default when bitexact is not set
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/arm/idctdsp_init_arm.c')
-rw-r--r-- | libavcodec/arm/idctdsp_init_arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/arm/idctdsp_init_arm.c b/libavcodec/arm/idctdsp_init_arm.c index 31d9428a8b..578697e88e 100644 --- a/libavcodec/arm/idctdsp_init_arm.c +++ b/libavcodec/arm/idctdsp_init_arm.c @@ -71,7 +71,7 @@ av_cold void ff_idctdsp_init_arm(IDCTDSPContext *c, AVCodecContext *avctx, ff_add_pixels_clamped = c->add_pixels_clamped; if (!avctx->lowres && !high_bit_depth) { - if (avctx->idct_algo == FF_IDCT_AUTO || + if ((avctx->idct_algo == FF_IDCT_AUTO && !(avctx->flags & CODEC_FLAG_BITEXACT)) || avctx->idct_algo == FF_IDCT_ARM) { c->idct_put = j_rev_dct_arm_put; c->idct_add = j_rev_dct_arm_add; |