[MPlayer-dev-eng] [PATCH] fix vo_tdfxfb with gcc 3.x

Attila Kinali kinali at gmx.net
Wed Oct 15 18:47:58 CEST 2003


On Mon, 13 Oct 2003 12:43:17 +0200
Jesús Sánchez <gusanje at yahoo.es> wrote:

> I know it is so simple that it seems it doesn't do anything ;-). The trick is 
> just a 'volatile' added for reg_2d. This is a pointer to some video card 
> registers mapped in memory. Perhaps, gcc 3.x optimizes too much, and when 
> reg_2d is written it doesn't update the real registers. In particular, this 
> line didn't work:
> 	reg_2d->dstSize = XYREG(vidwidth, vidheight);
> The rest of the patch only deletes some lines added by an old patch that tried 
> to fix the same issue.

Ok, applied.

			Attila Kinali

-- 
egp ist vergleichbar mit einem ikea bausatz fuer flugzeugtraeger
			-- reeler in +kaosu



More information about the MPlayer-dev-eng mailing list