[FFmpeg-devel] [PATCH 2/3] vorbisdec: Fix header parsing with no floor1 partitions
David Conrad
lessen42
Tue Jun 8 09:08:32 CEST 2010
---
libavcodec/vorbis_dec.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c
index bfe2367..608277a 100644
--- 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;
--
1.7.1
More information about the ffmpeg-devel
mailing list