[FFmpeg-cvslog] r23811 - trunk/libavcodec/vorbis_dec.c

conrad subversion
Sun Jun 27 03:46:20 CEST 2010


Author: conrad
Date: Sun Jun 27 03:46:20 2010
New Revision: 23811

Log:
vorbisdec: Fix header parsing with no floor1 partitions

Modified:
   trunk/libavcodec/vorbis_dec.c

Modified: trunk/libavcodec/vorbis_dec.c
==============================================================================
--- trunk/libavcodec/vorbis_dec.c	Sun Jun 27 03:46:14 2010	(r23810)
+++ trunk/libavcodec/vorbis_dec.c	Sun Jun 27 03:46:20 2010	(r23811)
@@ -474,7 +474,7 @@ static int vorbis_parse_setup_hdr_floors
         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;
 



More information about the ffmpeg-cvslog mailing list