New submission from John Van Sickle <[email protected]>:

FFmpeg was crashing when using '-vf scale=$W:$H' on my FreeBSD 8 -stable box
which I backtraced in gdb to swsscale trying to use 3DNOW instructions. The
problem is my processor doesn't support 3DNOW:

CPU: Intel(R) Core(TM)2 CPU         T7600  @ 2.33GHz
  Origin = "GenuineIntel"  Id = 0x6f6  Family = 6  Model = f  Stepping = 6
 
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
  Features2=0xe3bd<SSE3,DTES64,MON,DS_CPL,VMX,EST,TM2,SSSE3,CX16,xTPR,PDCM>

If I build FFmpeg with '--disable-amd3dnow --disable-amd3dnowext' it doesn't
crash. I brought this issue up in #ffmpeg-devel and mru recommended I file a bug
report.
---------------------------------------------------------------------------

Tested with:

FFmpeg version git-5f3b831, Copyright (c) 2000-2011 the FFmpeg developers
  built on Jan 24 2011 02:02:44 with gcc 4.4.6 20110118 (prerelease)

---------------------------------------------------------------------------

Problem:

$ cd ffmpeg

$ gmake clean && gmake distclean

$ ./configure --enable-gpl --cc=/usr/local/bin/gcc44 --as=/usr/local/bin/as

$ grep 3DNOW config.h
#define HAVE_AMD3DNOW 1
#define HAVE_AMD3DNOWEXT 1

---------------------------------------------------------------------------

$ /usr/local/bin/as --version
GNU assembler (GNU Binutils) 2.21

$ /usr/local/bin/gcc44 --version
gcc44 (GCC) 4.4.6 20110118 (prerelease)

---------------------------------------------------------------------------

MPlayer's ./configure correctly sets HAVE_AMD3DNOW and HAVE_AMD3DNOWEXT to 0.

----------
messages: 13546
priority: normal
status: new
substatus: new
title: configure incorrectly enables "#define HAVE_AMD3DNOW 1" in config.h
type: bug

________________________________________________
FFmpeg issue tracker <[email protected]>
<https://roundup.ffmpeg.org/issue2570>
________________________________________________

Reply via email to