suppress error message at eof

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17421 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2006-01-17 20:45:51 +00:00
parent 065b21ac70
commit 56e69ef4d7
1 changed files with 1 additions and 0 deletions

View File

@ -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;
}