[MPlayer-dev-eng] [PATCH] configure cleanup, compiler warnings

Dominik Mierzejewski dominik at rangers.eu.org
Fri Aug 30 13:38:53 CEST 2002


On Friday, 30 August 2002, Arpi wrote:
> Hi,
> 
> > > loader fixes: i won't apply them, it makes sync with avifile hard.
> > > anyway what's your problem with DWORD ?
> > 
> > Only that it's not the same as unsigned long. Maybe I'm fixing in the wrong
> > place.
> 
> it's x86-only code, the .h files come from windows sdk and wine.
> i wouldn't touch them...
> 
> > What about "SCALED_CPY redefined" fix?
> 
> what?

That:
--- MPlayer-20020829/postproc/postprocess_template.c.warn	Sat Aug 10 18:57:12 2002
+++ MPlayer-20020829/postproc/postprocess_template.c    Thu Aug 29 13:28:44 2002
@@ -2449,6 +2449,8 @@  
  * Copies a block from src to dst and fixes the blacklevel
  * levelFix == 0 -> dont touch the brighness & contrast
  */
+#undef SCALED_CPY
+
 static inline void RENAME(blockCopy)(uint8_t dst[], int dstStride, uint8_t src[], int srcStride,
        int levelFix)
 {
Without it, gcc complains about this macro being redefined.

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"



More information about the MPlayer-dev-eng mailing list