# HG changeset patch # User reimar # Date 1137530751 0 # Node ID a9e2922e91fd16cd7d82224d8890a288ade4e979 # Parent 433e35de3b10e28d3f7f48ce8e10399adc2505c0 suppress error message at eof diff -r 433e35de3b10 -r a9e2922e91fd libmpdemux/parse_es.c --- a/libmpdemux/parse_es.c Tue Jan 17 20:25:42 2006 +0000 +++ b/libmpdemux/parse_es.c Tue Jan 17 20:45:51 2006 +0000 @@ -25,6 +25,7 @@ if (!videobuf_code_len) { int skipped=0; if (!demux_pattern_3(ds, NULL, MAX_SYNCLEN, &skipped, 0x100)) { + if (skipped == MAX_SYNCLEN) mp_msg(MSGT_DEMUXER, MSGL_ERR, "parse_es: could not sync video stream!\n", skipped); goto eof_out; }