summaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-06-27 01:46:20 +0000
committerDavid Conrad <lessen42@gmail.com>2010-06-27 01:46:20 +0000
commit54fdf5d15092825eea20fa7cbac9f164f683c057 (patch)
tree6a7f14614d7cb341d50a16462df20d02b2b83337 /libavcodec
parent780621b8322e882643a9318b538ae5e91f3e53d0 (diff)
downloadffmpeg-streaming-54fdf5d15092825eea20fa7cbac9f164f683c057.zip
ffmpeg-streaming-54fdf5d15092825eea20fa7cbac9f164f683c057.tar.gz
vorbisdec: Fix header parsing with no floor1 partitions
Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/vorbis_dec.c2
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;
OpenPOWER on IntegriCloud