[xiph-commits] r15961 - trunk/vorbis/lib
xiphmont at svn.xiph.org
xiphmont at svn.xiph.org
Mon Apr 27 14:45:44 PDT 2009
Author: xiphmont
Date: 2009-04-27 14:45:44 -0700 (Mon, 27 Apr 2009)
New Revision: 15961
Modified:
trunk/vorbis/lib/vorbisfile.c
Log:
fix to #1362
Modified: trunk/vorbis/lib/vorbisfile.c
===================================================================
--- trunk/vorbis/lib/vorbisfile.c 2009-04-27 20:17:14 UTC (rev 15960)
+++ trunk/vorbis/lib/vorbisfile.c 2009-04-27 21:45:44 UTC (rev 15961)
@@ -185,8 +185,8 @@
long s = ogg_page_serialno(og);
(*n)++;
- if(serialno_list){
- *serialno_list = _ogg_realloc(*serialno_list, sizeof(*serialno_list)*(*n));
+ if(*serialno_list){
+ *serialno_list = _ogg_realloc(*serialno_list, sizeof(**serialno_list)*(*n));
}else{
*serialno_list = _ogg_malloc(sizeof(**serialno_list));
}
More information about the commits
mailing list