Mercurial > mplayer.hg
changeset 33468:86b2ec222a2c
Make "Invalid seek to negative position" message more useful by
printing the actual value.
author | reimar |
---|---|
date | Sat, 04 Jun 2011 09:30:42 +0000 |
parents | 7f9d2dd03e9a |
children | 17519ae1f249 |
files | stream/stream.h |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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(pos<s->pos){