# HG changeset patch # User reimar # Date 1307179842 0 # Node ID 86b2ec222a2c72d55346b9d328052dee7484e268 # Parent 7f9d2dd03e9a5f3408e53d46448effe221979887 Make "Invalid seek to negative position" message more useful by printing the actual value. diff -r 7f9d2dd03e9a -r 86b2ec222a2c stream/stream.h --- a/stream/stream.h Sat Jun 04 09:10:04 2011 +0000 +++ b/stream/stream.h Sat Jun 04 09:30:42 2011 +0000 @@ -293,7 +293,8 @@ 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(pospos){