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:
8611156
)
Leak fix in decode broke codebook load; fixed
author
Monty
<xiphmont@xiph.org>
Fri, 26 Mar 2010 01:54:25 +0000
(
01:54
+0000)
committer
Monty
<xiphmont@xiph.org>
Fri, 26 Mar 2010 01:54:25 +0000
(
01:54
+0000)
svn path=/trunk/vorbis/; revision=17051
lib/info.c
patch
|
blob
|
history
diff --git
a/lib/info.c
b/lib/info.c
index 145da0e8c235eb048604ebf45acd3af558edb949..7ed2a277e5e338b46bbb9cf977a6851674e829b8 100644
(file)
--- a/
lib/info.c
+++ b/
lib/info.c
@@
-278,7
+278,7
@@
static int _vorbis_unpack_books(vorbis_info *vi,oggpack_buffer *opb){
ci->books=oggpack_read(opb,8)+1;
if(ci->books<=0)goto err_out;
for(i=0;i<ci->books;i++){
- ci->book_param[i]=
_ogg_calloc(1,sizeof(*ci->book_param[i])
);
+ ci->book_param[i]=
vorbis_staticbook_unpack(opb
);
if(!ci->book_param[i])goto err_out;
}