[FFmpeg-devel] [PATCH 5/5] avcodec/x86/proresdsp_init: x86 prores IDCT is bitexact again

Michael Niedermayer michaelni at gmx.at
Sun Jan 12 03:12:41 CET 2014


reenable it for for bitexact mode

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
 libavcodec/x86/proresdsp_init.c |    3 ---
 1 file changed, 3 deletions(-)

diff --git a/libavcodec/x86/proresdsp_init.c b/libavcodec/x86/proresdsp_init.c
index 0273d61..fa4a2d4 100644
--- a/libavcodec/x86/proresdsp_init.c
+++ b/libavcodec/x86/proresdsp_init.c
@@ -37,9 +37,6 @@ av_cold void ff_proresdsp_x86_init(ProresDSPContext *dsp, AVCodecContext *avctx)
 #if ARCH_X86_64
     int cpu_flags = av_get_cpu_flags();
 
-    if(avctx->flags & CODEC_FLAG_BITEXACT)
-        return;
-
     if (EXTERNAL_SSE2(cpu_flags)) {
         dsp->idct_permutation_type = FF_TRANSPOSE_IDCT_PERM;
         dsp->idct_put = ff_prores_idct_put_10_sse2;
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list