Mercurial > libavcodec.hg
diff mpeg12.c @ 1220:78a51075aacb libavcodec
10l
author | michaelni |
---|---|
date | Sun, 27 Apr 2003 13:44:01 +0000 |
parents | 358bbc952e27 |
children | 5642ebadf1b5 |
line wrap: on
line diff
--- a/mpeg12.c Sun Apr 27 01:33:39 2003 +0000 +++ b/mpeg12.c Sun Apr 27 13:44:01 2003 +0000 @@ -2241,9 +2241,9 @@ 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 */