diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-12-11 13:01:20 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-12-11 13:01:20 +0000 |
commit | 2f5560ee499a9da68862977e3771537bf5379052 (patch) | |
tree | 284a459eacd6170151f53a4fc96cf1f03f6cdb01 /libavcodec/mpegaudiodec.c | |
parent | 505dfb09d9455711e6407192088dadccfb30d59e (diff) | |
download | ffmpeg-2f5560ee499a9da68862977e3771537bf5379052.tar.gz |
fix playback of mp3_bits_left.avi
Originally committed as revision 7279 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mpegaudiodec.c')
-rw-r--r-- | libavcodec/mpegaudiodec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpegaudiodec.c b/libavcodec/mpegaudiodec.c index a0627e5a43..367400581c 100644 --- a/libavcodec/mpegaudiodec.c +++ b/libavcodec/mpegaudiodec.c @@ -1749,7 +1749,7 @@ static int huffman_decode(MPADecodeContext *s, GranuleDef *g, /* skip extension bits */ bits_left = end_pos - get_bits_count(&s->gb); //av_log(NULL, AV_LOG_ERROR, "left:%d buf:%p\n", bits_left, s->in_gb.buffer); - if (bits_left < 0 || bits_left > 16) { + if (bits_left < 0 || bits_left > 500) { av_log(NULL, AV_LOG_ERROR, "bits_left=%d\n", bits_left); s_index=0; }else if(bits_left > 0 && s->error_resilience >= FF_ER_AGGRESSIVE){ |