Diego Biurrun <[EMAIL PROTECTED]> added the comment:

On Tue, Dec 11, 2007 at 06:46:07PM +0000, Diego Biurrun wrote:
> 
> Diego Biurrun <[EMAIL PROTECTED]> added the comment:
> 
> On Tue, Dec 11, 2007 at 12:52:57PM +0000, Panagiotis Issaris wrote:
> > 
> > Panagiotis Issaris <[EMAIL PROTECTED]> added the comment:
> > 
> > Okay, I just verified that --disable-encoder=flac doesn't avoid the problem 
> > as
> > the flac SSE2 code gets compiled anyway.
> 
> This is a bug, fix it :)

Please try the attached patch.

Diego

______________________________________________________
FFmpeg issue tracker <[EMAIL PROTECTED]>
<https://roundup.mplayerhq.hu/roundup/ffmpeg/issue294>
______________________________________________________
Index: libavcodec/i386/dsputil_mmx.c
===================================================================
--- libavcodec/i386/dsputil_mmx.c	(revision 11201)
+++ libavcodec/i386/dsputil_mmx.c	(working copy)
@@ -3737,6 +3737,7 @@
             c->sum_abs_dctelem= sum_abs_dctelem_sse2;
             c->hadamard8_diff[0]= hadamard8_diff16_sse2;
             c->hadamard8_diff[1]= hadamard8_diff_sse2;
+            if (ENABLE_CAVS_ENCODER)
             c->flac_compute_autocorr = flac_compute_autocorr_sse2;
         }
 

Reply via email to