# HG changeset patch # User conrad # Date 1277603180 0 # Node ID e36d1bb6d8b7b0fb8deab61a4b67bffe5d441119 # Parent 5d9e0dad780bf99baf6dd949423b9ed64202b48a vorbisdec: Fix header parsing with no floor1 partitions diff -r 5d9e0dad780b -r e36d1bb6d8b7 vorbis_dec.c --- a/vorbis_dec.c Sun Jun 27 01:46:14 2010 +0000 +++ b/vorbis_dec.c Sun Jun 27 01:46:20 2010 +0000 @@ -474,7 +474,7 @@ 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;