projects
/
platform
/
upstream
/
libvorbis.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f9505
)
fix to #1362
author
Monty
<xiphmont@xiph.org>
Mon, 27 Apr 2009 21:45:44 +0000
(21:45 +0000)
committer
Monty
<xiphmont@xiph.org>
Mon, 27 Apr 2009 21:45:44 +0000
(21:45 +0000)
svn path=/trunk/vorbis/; revision=15961
lib/vorbisfile.c
patch
|
blob
|
history
diff --git
a/lib/vorbisfile.c
b/lib/vorbisfile.c
index 9913199302173dced350eb7136b8f36b04189f6c..5c388001d1a18bd3ed25439d6aaa78fd56b1b197 100644
(file)
--- a/
lib/vorbisfile.c
+++ b/
lib/vorbisfile.c
@@
-185,8
+185,8
@@
static void _add_serialno(ogg_page *og,long **serialno_list, int *n){
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));
}