diff libmpdemux/parse_es.c @ 17420:a9e2922e91fd

suppress error message at eof
author reimar
date Tue, 17 Jan 2006 20:45:51 +0000
parents 0b17629dbade
children 4d81dbdf46b9
line wrap: on
line diff
--- 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;
     }