[xiph-commits] r9611 - trunk/theora/lib

giles at svn.xiph.org giles at svn.xiph.org
Sat Jul 23 22:39:00 PDT 2005


Author: giles
Date: 2005-07-23 22:38:58 -0700 (Sat, 23 Jul 2005)
New Revision: 9611

Modified:
   trunk/theora/lib/quant.c
Log:
Correct a pointer addressing error in the quant table range storage.
Hooray for cross-platform testing.


Modified: trunk/theora/lib/quant.c
===================================================================
--- trunk/theora/lib/quant.c	2005-07-24 02:48:47 UTC (rev 9610)
+++ trunk/theora/lib/quant.c	2005-07-24 05:38:58 UTC (rev 9611)
@@ -190,7 +190,7 @@
 
   ci->range_table[type] = _ogg_malloc(count * sizeof(qmat_range_table));
   if (ci->range_table[type] != NULL) {
-    memcpy(&ci->range_table[type], table, count * sizeof(qmat_range_table)); 
+    memcpy(ci->range_table[type], table, count * sizeof(qmat_range_table)); 
     return 0;
   }
   



More information about the commits mailing list