[Mplayer-cvslog] CVS: main/postproc yuv2rgb.c,1.24,1.25

Alex Beregszaszi syncmail at mplayerhq.hu
Fri Jun 25 19:05:37 CEST 2004


CVS change done by Alex Beregszaszi

Update of /cvsroot/mplayer/main/postproc
In directory mail:/var2/tmp/cvs-serv30209/postproc

Modified Files:
	yuv2rgb.c 
Log Message:
bigendian fix

Index: yuv2rgb.c
===================================================================
RCS file: /cvsroot/mplayer/main/postproc/yuv2rgb.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- yuv2rgb.c	26 Apr 2004 19:38:17 -0000	1.24
+++ yuv2rgb.c	25 Jun 2004 17:05:35 -0000	1.25
@@ -642,7 +642,7 @@
 
 int yuv2rgb_c_init_tables (SwsContext *c, const int inv_table[4], int fullRange, int brightness, int contrast, int saturation)
 {  
-    const int isRgb = IMGFMT_IS_RGB(c->dstFormat);
+    const int isRgb = IMGFMT_IS_BGR(c->dstFormat);
     const int bpp = isRgb?IMGFMT_RGB_DEPTH(c->dstFormat):IMGFMT_BGR_DEPTH(c->dstFormat);
     int i;
     uint8_t table_Y[1024];




More information about the MPlayer-cvslog mailing list