diff options
-rw-r--r-- | libmpdemux/parse_es.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpdemux/parse_es.c b/libmpdemux/parse_es.c index 9a9d07611f..636a30e943 100644 --- a/libmpdemux/parse_es.c +++ b/libmpdemux/parse_es.c @@ -25,6 +25,7 @@ int sync_video_packet(demux_stream_t *ds){ 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; } |