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

michael subversion
Wed Oct 31 23:36:07 CET 2007


Author: michael
Date: Wed Oct 31 23:36:06 2007
New Revision: 10888

Log:
fix issue130


Modified:
   trunk/libavcodec/vorbis_dec.c

Modified: trunk/libavcodec/vorbis_dec.c
==============================================================================
--- trunk/libavcodec/vorbis_dec.c	(original)
+++ trunk/libavcodec/vorbis_dec.c	Wed Oct 31 23:36:06 2007
@@ -1006,6 +1006,7 @@ static uint_fast8_t vorbis_floor0_decode
         if ( book_idx >= vf->num_books ) {
             av_log( vc->avccontext, AV_LOG_ERROR,
                     "floor0 dec: booknumber too high!\n" );
+            book_idx= 0;
             //FIXME: look above
         }
         AV_DEBUG( "floor0 dec: booknumber: %u\n", book_idx );




More information about the ffmpeg-cvslog mailing list