Commit 54fdf5d1 authored by David Conrad's avatar David Conrad

vorbisdec: Fix header parsing with no floor1 partitions

Originally committed as revision 23811 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 780621b8
...@@ -474,7 +474,7 @@ static int vorbis_parse_setup_hdr_floors(vorbis_context *vc) ...@@ -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); AV_DEBUG(" %d. floor type %d \n", i, floor_setup->floor_type);
if (floor_setup->floor_type == 1) { if (floor_setup->floor_type == 1) {
uint_fast8_t maximum_class = 0; int maximum_class = -1;
uint_fast8_t rangebits; uint_fast8_t rangebits;
uint_fast16_t floor1_values = 2; uint_fast16_t floor1_values = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment