summaryrefslogtreecommitdiffstats
path: root/libmpdemux/parse_es.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-17 20:45:51 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-01-17 20:45:51 +0000
commit56e69ef4d705d5c4189de1f15daf00407ed4fc2e (patch)
tree4695315231fef7693124dcee740135691c08e6d5 /libmpdemux/parse_es.c
parent065b21ac70206db62b3e4e0370058b7a5dcf2430 (diff)
downloadmpv-56e69ef4d705d5c4189de1f15daf00407ed4fc2e.tar.bz2
mpv-56e69ef4d705d5c4189de1f15daf00407ed4fc2e.tar.xz
suppress error message at eof
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17421 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux/parse_es.c')
-rw-r--r--libmpdemux/parse_es.c1
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;
}