[FFmpeg-cvslog] avcodec/ppc/idctdsp: Only select non bitexact IDCTs by default when bitexact is not set
Michael Niedermayer
git at videolan.org
Sun Jul 27 14:56:39 CEST 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jul 27 14:16:07 2014 +0200| [fbeb634e4dda69cd1b8554d20030b6946d52be02] | committer: Michael Niedermayer
avcodec/ppc/idctdsp: Only select non bitexact IDCTs by default when bitexact is not set
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fbeb634e4dda69cd1b8554d20030b6946d52be02
---
libavcodec/ppc/idctdsp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/ppc/idctdsp.c b/libavcodec/ppc/idctdsp.c
index 6cc660f..419f188 100644
--- a/libavcodec/ppc/idctdsp.c
+++ b/libavcodec/ppc/idctdsp.c
@@ -249,7 +249,7 @@ av_cold void ff_idctdsp_init_ppc(IDCTDSPContext *c, AVCodecContext *avctx,
#if HAVE_ALTIVEC
if (PPC_ALTIVEC(av_get_cpu_flags())) {
if (!high_bit_depth && avctx->lowres == 0) {
- if ((avctx->idct_algo == FF_IDCT_AUTO) ||
+ if ((avctx->idct_algo == FF_IDCT_AUTO && !(avctx->flags & CODEC_FLAG_BITEXACT)) ||
(avctx->idct_algo == FF_IDCT_ALTIVEC)) {
c->idct = idct_altivec;
c->idct_add = idct_add_altivec;
More information about the ffmpeg-cvslog
mailing list