[Ffmpeg-cvslog] r7279 - trunk/libavcodec/mpegaudiodec.c

michael subversion
Mon Dec 11 14:01:20 CET 2006


Author: michael
Date: Mon Dec 11 14:01:20 2006
New Revision: 7279

Modified:
   trunk/libavcodec/mpegaudiodec.c

Log:
fix playback of mp3_bits_left.avi


Modified: trunk/libavcodec/mpegaudiodec.c
==============================================================================
--- trunk/libavcodec/mpegaudiodec.c	(original)
+++ trunk/libavcodec/mpegaudiodec.c	Mon Dec 11 14:01:20 2006
@@ -1749,7 +1749,7 @@
     /* 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){




More information about the ffmpeg-cvslog mailing list