[xiph-commits] r17746 - trunk/squishyball

xiphmont at svn.xiph.org xiphmont at svn.xiph.org
Fri Dec 10 22:11:10 PST 2010


Author: xiphmont
Date: 2010-12-10 22:11:10 -0800 (Fri, 10 Dec 2010)
New Revision: 17746

Modified:
   trunk/squishyball/loader.c
Log:
Correct typo in flac 24 bit loading


Modified: trunk/squishyball/loader.c
===================================================================
--- trunk/squishyball/loader.c	2010-12-10 22:11:00 UTC (rev 17745)
+++ trunk/squishyball/loader.c	2010-12-11 06:11:10 UTC (rev 17746)
@@ -735,7 +735,7 @@
         for (i = 0; i < channels; i++){
           d[0] = (buffer[i][j]<<shift)&0xff;
           d[1] = (buffer[i][j]<<shift>>8)&0xff;
-          d[3] = (buffer[i][j]<<shift>>16)&0xff;
+          d[2] = (buffer[i][j]<<shift>>16)&0xff;
           d+=3;
           fill+=3;
         }



More information about the commits mailing list