[FFmpeg-cvslog] r12902 - trunk/libavcodec/aac_ac3_parser.c

michael subversion
Sat Apr 19 13:14:55 CEST 2008


Author: michael
Date: Sat Apr 19 13:14:55 2008
New Revision: 12902

Log:
more correct


Modified:
   trunk/libavcodec/aac_ac3_parser.c

Modified: trunk/libavcodec/aac_ac3_parser.c
==============================================================================
--- trunk/libavcodec/aac_ac3_parser.c	(original)
+++ trunk/libavcodec/aac_ac3_parser.c	Sat Apr 19 13:14:55 2008
@@ -51,8 +51,10 @@ get_next:
             }else{
                 i-= s->header_size -1;
                 s->remaining_size = len;
-                if(!new_frame_start)
+                if(!new_frame_start){
+                    s->remaining_size += i;
                     goto get_next;
+                }
             }
         }
     }




More information about the ffmpeg-cvslog mailing list