diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-10-31 22:36:06 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-10-31 22:36:06 +0000 |
commit | e14356c895d5c0da8d79d691fb94836d92417df8 (patch) | |
tree | 49a7ec847297564ad5c65ec3112d7101c9e9e073 /libavcodec/vorbis_dec.c | |
parent | c8652b5714d80b35e67491ebe2265146df76eaac (diff) | |
download | ffmpeg-e14356c895d5c0da8d79d691fb94836d92417df8.tar.gz |
fix issue130
Originally committed as revision 10888 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vorbis_dec.c')
-rw-r--r-- | libavcodec/vorbis_dec.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vorbis_dec.c b/libavcodec/vorbis_dec.c index 6ac15ccc20..33c8bbc8ba 100644 --- a/libavcodec/vorbis_dec.c +++ b/libavcodec/vorbis_dec.c @@ -1006,6 +1006,7 @@ static uint_fast8_t vorbis_floor0_decode(vorbis_context *vc, 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 ); |