1
mirror of https://github.com/mpv-player/mpv synced 2024-10-06 14:54:02 +02:00

missed piece in update to libnut API - non negative errors

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20987 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
ods15 2006-11-17 17:43:40 +00:00
parent e67f52edd4
commit 4295799cf5

View File

@ -251,8 +251,7 @@ static void demux_seek_nut(demuxer_t * demuxer, float time_pos, float audio_dela
priv->s[0].time_base.den;
ret = nut_seek(nut, time_pos, nutflags, tmp);
if (ret < 0)
mp_msg(MSGT_HEADER, MSGL_ERR, "NUT error: %s\n", nut_error(-ret));
if (ret) mp_msg(MSGT_HEADER, MSGL_ERR, "NUT error: %s\n", nut_error(ret));
if (sh_audio) resync_audio_stream(sh_audio);
}