Commit 78aa9d73 authored by michaelni's avatar michaelni

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@1826 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ec592f54
......@@ -2241,9 +2241,9 @@ static int mpeg_decode_frame(AVCodecContext *avctx,
for(;;) {
/* find start next code */
start_code = find_start_code(&buf_ptr, buf_end);
if (start_code < 0){
printf("missing end of picture\n");
return FFMAX(1, buf_ptr - buf - s2->parse_context.last_index);
if (start_code < 0){
// printf("missing end of picture\n");
return FFMAX(0, buf_ptr - buf - s2->parse_context.last_index);
}
/* prepare data for next start code */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment