[MPlayer-dev-eng] {PATCH]:Patch for vo_tga.c on big endian systems

Roberto Togni r_togni at tiscali.it
Sat Jun 12 19:41:59 CEST 2004


On 2004.06.12 15:46, danny wrote:
> I receive this patch for the tga output on big endian systems.
> 
> Someone can apply this ?
> 
> 	Thanks
> 
> 		Daniele Forghieri
> 
> 
> 
> ----------  Messaggio inoltrato  ----------
> 
> Subject: Patch for vo_tga.c on big endian systems
> Date: 18:29, martedì 8 giugno 2004
> From: Jean-Francois Panisset <panisset at comcast.net>
> To: guru at digitalfantasy.it
> Cc: panisset at comcast.net
> 
> Dear Mr. Forghieri,
> 
> Here is a patch to libvo/vo_tga.c (applied against the latest version
> in
> the mplayer cvs repository) which fixes MPlayer output of Targa files
> on
> big endian platforms such as OS X. The patch is fairly simple, it
> would
> be great if you could apply it to the CVS version of the code. Note
> that
> in the case of little endian systems, the extra right shift will be  
> by
> a
> value of 0, which should be optimized away by the compiler.
> 
> Thanks!
> JF Panisset
Applied, thanks.

I could not test it on bigendian, but it's surely better than before.
Next time please provide unified diffs (diff -u), they're a lot easier  
to read.

Ciao,
 Roberto




More information about the MPlayer-dev-eng mailing list