[xiph-commits] r10345 - icecast/trunk/ices0/src

brendan at svn.xiph.org brendan at svn.xiph.org
Sat Nov 5 15:37:22 PST 2005


Author: brendan
Date: 2005-11-05 15:37:18 -0800 (Sat, 05 Nov 2005)
New Revision: 10345

Modified:
   icecast/trunk/ices0/src/in_mp4.c
Log:
faadDecDecode seems to return the total number of samples, not samples/channels.


Modified: icecast/trunk/ices0/src/in_mp4.c
===================================================================
--- icecast/trunk/ices0/src/in_mp4.c	2005-11-05 22:00:36 UTC (rev 10344)
+++ icecast/trunk/ices0/src/in_mp4.c	2005-11-05 23:37:18 UTC (rev 10345)
@@ -194,7 +194,7 @@
 
   }
   i = 0;
-  while (i < fi.samples * 2) {
+  while (i < fi.samples) {
     *left++ = ((int16_t*)decbuf)[i++];
     *right++ = ((int16_t*)decbuf)[i++];
   }



More information about the commits mailing list