[xiph-commits] r3161 - liboggplay/trunk/src/liboggplay

doublec at svn.annodex.net doublec at svn.annodex.net
Thu Jul 12 16:50:30 PDT 2007


Author: doublec
Date: 2007-07-12 16:50:29 -0700 (Thu, 12 Jul 2007)
New Revision: 3161

Modified:
   liboggplay/trunk/src/liboggplay/oggplay_yuv2rgb.c
Log:
yuv2bgr was incorrectly using rgb ordering in one case

Modified: liboggplay/trunk/src/liboggplay/oggplay_yuv2rgb.c
===================================================================
--- liboggplay/trunk/src/liboggplay/oggplay_yuv2rgb.c	2007-07-11 06:39:17 UTC (rev 3160)
+++ liboggplay/trunk/src/liboggplay/oggplay_yuv2rgb.c	2007-07-12 23:50:29 UTC (rev 3161)
@@ -424,9 +424,9 @@
       g = ptry[j] + pg;
       b = ptry[j] + pb;
 
+      *ptro2++ = CLAMP(b);
+      *ptro2++ = CLAMP(g);
       *ptro2++ = CLAMP(r);
-      *ptro2++ = CLAMP(g);
-      *ptro2++ = CLAMP(b);
       *ptro2++ = 255;
       
       r = ptry[j + 1] + pr;



More information about the commits mailing list