[MPlayer-cvslog] r20987 - trunk/libmpdemux/demux_nut.c

ods15 subversion at mplayerhq.hu
Fri Nov 17 18:43:40 CET 2006


Author: ods15
Date: Fri Nov 17 18:43:40 2006
New Revision: 20987

Modified:
   trunk/libmpdemux/demux_nut.c

Log:
missed piece in update to libnut API - non negative errors


Modified: trunk/libmpdemux/demux_nut.c
==============================================================================
--- trunk/libmpdemux/demux_nut.c	(original)
+++ trunk/libmpdemux/demux_nut.c	Fri Nov 17 18:43:40 2006
@@ -251,8 +251,7 @@
 		                       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);
 }
 



More information about the MPlayer-cvslog mailing list