[MPlayer-cvslog] r33556 - trunk/stream/stream.h

reimar subversion at mplayerhq.hu
Sat Jun 4 11:30:46 CEST 2011


Author: reimar
Date: Sat Jun  4 11:30:42 2011
New Revision: 33556

Log:
Make "Invalid seek to negative position" message more useful by
printing the actual value.

Modified:
   trunk/stream/stream.h

Modified: trunk/stream/stream.h
==============================================================================
--- trunk/stream/stream.h	Sat Jun  4 11:10:04 2011	(r33555)
+++ trunk/stream/stream.h	Sat Jun  4 11:30:42 2011	(r33556)
@@ -293,7 +293,8 @@ inline static int stream_seek(stream_t *
   mp_dbg(MSGT_DEMUX, MSGL_DBG3, "seek to 0x%qX\n",(long long)pos);
 
   if (pos < 0) {
-    mp_msg(MSGT_DEMUX, MSGL_ERR, "Invalid seek to negative position!\n");
+    mp_msg(MSGT_DEMUX, MSGL_ERR, "Invalid seek to negative position %llx!\n",
+           (long long)pos);
     pos = 0;
   }
   if(pos<s->pos){


More information about the MPlayer-cvslog mailing list