aboutsummaryrefslogtreecommitdiffhomepage
path: root/libmpdemux
diff options
context:
space:
mode:
authorGravatar ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-17 17:43:40 +0000
committerGravatar ods15 <ods15@b3059339-0415-0410-9bf9-f77b7e298cf2>2006-11-17 17:43:40 +0000
commit4295799cf5a7c74d5cfc8e9e552bf836f652f6d6 (patch)
tree518b5d0c7ec39157181c1c0cff34438dcb47e7bf /libmpdemux
parente67f52edd48f41944b02e7526e888ee61f87f164 (diff)
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
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_nut.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libmpdemux/demux_nut.c b/libmpdemux/demux_nut.c
index 87a969579e..9f4a788484 100644
--- a/libmpdemux/demux_nut.c
+++ b/libmpdemux/demux_nut.c
@@ -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);
}