[FFmpeg-devel] [PATCH] Fix apply_welch_window_sse2 compilation on Mac OS X/x86

Pierre d'Herbemont pdherbemont
Wed Oct 17 15:59:26 CEST 2007


Thanks, but what is the point of having no optimization? This patch  
should just work.

Pierre.

On Oct 17, 2007, at 3:40 PM, Graham Booker wrote:

> If you do:
> cd libavcodec
> export CFLAGS="-O1 -fomit-frame-pointer -funit-at-a-time"; make  
> h264.o cabac.o i386/dsputil_mmx.o h264_parser.o
> unset CFLAGS;
> cd ..
>
> Then you can build everything else without the optimizations  
> enabled for those four files.
>
>
> On Oct 17, 2007, at 3:29 AM, Pierre d'Herbemont wrote:
>
>> Hi,
>>
>> Here is a fix for:
>>
>> i386/dsputil_mmx.c:3003: error: can't find a register in class  
>> 'GENERAL_REGS' while reloading 'asm'
>> i386/dsputil_mmx.c:3005: error: can't find a register in class  
>> 'GENERAL_REGS' while reloading 'asm'
>> make[4]: *** [i386/dsputil_mmx.o] Error 1
>> make[3]: *** [lib] Error 2
>> make[2]: *** [.ffmpeg] Error 2
>> make[1]: *** [src] Error 2
>>
>> We don't have enough free registers around on Mac OS X/x86. Feel  
>> free to commit a better fix.
>>
>> Pierre.<osx_intel_apply_welch_window_sse2.diff.txt>__________________ 
>> _____________________________
>> ffmpeg-devel mailing list
>> ffmpeg-devel at mplayerhq.hu
>> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at mplayerhq.hu
> http://lists.mplayerhq.hu/mailman/listinfo/ffmpeg-devel





More information about the ffmpeg-devel mailing list