[MPlayer-cvslog] CVS: main/postproc swscale_template.c, 1.116, 1.117

Jindrich Makovicka makovick at kmlinux.fjfi.cvut.cz
Sun Jun 26 21:10:04 CEST 2005

Guillaume Poirier CVS wrote:
> CVS change done by Guillaume Poirier CVS
> Update of /cvsroot/mplayer/main/postproc
> In directory mail:/var2/tmp/cvs-serv19376/postproc
> Modified Files:
> 	swscale_template.c 
> Log Message:
> Fixes GCC4 fix by using "g" instead of "mp" as some compilers misscompile
> that code othewisei (leading to segfaults).

This is IMHO no miscompilation. If you instruct asm() to expect a 64-bit
memory operand, and you supply only 32-bit one, typecasted to 64-bit, a
lot of mess can happen. Probably "r" would be needed to be 100% sure,
but I am by no means an assembler expert.

Jindrich Makovicka

More information about the MPlayer-cvslog mailing list