changeset 11972:e36d1bb6d8b7 libavcodec

vorbisdec: Fix header parsing with no floor1 partitions
author conrad
date Sun, 27 Jun 2010 01:46:20 +0000
parents 5d9e0dad780b
children 7ca225db75e8
files vorbis_dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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;