[Ffmpeg-devel] GCC4 Fix

Zan Lynx zlynx
Thu May 12 19:48:23 CEST 2005


(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.

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.

This is probably a problem in more code than just there, too.
-- 
Zan Lynx <zlynx at acm.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20050512/5a4926d6/attachment.pgp>



More information about the ffmpeg-devel mailing list