projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
780621b
)
vorbisdec: Fix header parsing with no floor1 partitions
author
David Conrad
<lessen42@gmail.com>
Sun, 27 Jun 2010 01:46:20 +0000
(
01:46
+0000)
committer
David Conrad
<lessen42@gmail.com>
Sun, 27 Jun 2010 01:46:20 +0000
(
01:46
+0000)
Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/vorbis_dec.c
patch
|
blob
|
history
diff --git
a/libavcodec/vorbis_dec.c
b/libavcodec/vorbis_dec.c
index
bfe2367
..
608277a
100644
(file)
--- a/
libavcodec/vorbis_dec.c
+++ b/
libavcodec/vorbis_dec.c
@@
-474,7
+474,7
@@
static int vorbis_parse_setup_hdr_floors(vorbis_context *vc)
AV_DEBUG(" %d. floor type %d \n", i, floor_setup->floor_type);
if (floor_setup->floor_type == 1) {
-
uint_fast8_t maximum_class = 0
;
+
int maximum_class = -1
;
uint_fast8_t rangebits;
uint_fast16_t floor1_values = 2;