[Ffmpeg-devel] [PATCH] better gdb report on crash in fft.c on mingw.

Hervé W. H.O.W.aka.V+ffmpeg
Thu Jun 29 10:49:25 CEST 2006


On 29/06/06, Diego Biurrun <diego at biurrun.de> wrote:
> On Thu, Jun 29, 2006 at 01:05:54AM +0200, Herv? W. wrote:
> Please resend as attachment, your mailer munged it...

Okay. Sorry for the inconvenience.

-V
-------------- next part --------------
Index: libavcodec/fft.c
===================================================================
--- libavcodec/fft.c	(revision 5538)
+++ libavcodec/fft.c	(working copy)
@@ -62,7 +62,11 @@
         int has_vectors = 0;
 
 #if defined(HAVE_MMX)
+# ifdef HAVE_MM3DNOW
         has_vectors = mm_support() & (MM_3DNOW | MM_3DNOWEXT | MM_SSE | MM_SSE2);
+# else
+        has_vectors = mm_support() & (MM_SSE | MM_SSE2);
+# endif
 #endif
 #if defined(HAVE_ALTIVEC) && !defined(ALTIVEC_USE_REFERENCE_C_CODE)
         has_vectors = mm_support() & MM_ALTIVEC;



More information about the ffmpeg-devel mailing list