# HG changeset patch # User michaelni # Date 1051451041 0 # Node ID 78a51075aacb13ee859d65531ee9bcdedfd7ecf8 # Parent ad21a7b2349b229dc2f571d5ecb315879edd98f1 10l diff -r ad21a7b2349b -r 78a51075aacb mpeg12.c --- 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 */