changeset 5855:600884524b31 libavcodec

fix issue130
author michael
date Wed, 31 Oct 2007 22:36:06 +0000
parents 29b36106bc9c
children 93b97a466ba7
files vorbis_dec.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/vorbis_dec.c	Tue Oct 30 23:20:26 2007 +0000
+++ b/vorbis_dec.c	Wed Oct 31 22:36:06 2007 +0000
@@ -1006,6 +1006,7 @@
         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 );