[Ffmpeg-devel] GCC4 Fix

Michael Niedermayer michaelni
Thu May 12 20:39:23 CEST 2005


On Thursday 12 May 2005 19:48, Zan Lynx wrote:
> (Not a list subscriber, please CC replies)
> Somewhat related to the last GCC 4 fix, I'd like to mention that AMD64
> has a lot more registers.  That leads to problems with the asm code in
> libavcodec/libpostproc/postprocess_template.c.

what do you mean with problem? error messages, ...

> For example, around line 3645, the asm restrictions for "x" and
> "copyAhead" are "m".  They should be "g" instead, because a 64-bit amd64
> puts those variables into registers, not memory locations.

send patch, but you have to test this with gcc 2.95, 3.3 and 3.4 at least, gcc 
is known to mess up asm


More information about the ffmpeg-devel mailing list