b7f928e394
OBS-URL: https://build.opensuse.org/package/show/multimedia:libs/libvorbis?expand=0&rev=7
14 lines
457 B
Diff
14 lines
457 B
Diff
Index: /trunk/vorbis/lib/codebook.c
|
|
================================================================================
|
|
--- libvorbis/BUILD/libvorbis-1.2.0/lib/codebook.c
|
|
+++ libvorbis/BUILD/libvorbis-1.2.0/lib/codebook.c
|
|
@@ -225,7 +225,7 @@
|
|
int quantvals=0;
|
|
switch(s->maptype){
|
|
case 1:
|
|
- quantvals=_book_maptype1_quantvals(s);
|
|
+ quantvals=(s->dim==0?0:_book_maptype1_quantvals(s));
|
|
break;
|
|
case 2:
|
|
quantvals=s->entries*s->dim;
|