diff options
author | wm4 <wm4@nowhere> | 2013-06-05 02:08:56 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-06-09 22:06:03 +0200 |
commit | 27b633671f01a0f97518459717d273f45358bfb0 (patch) | |
tree | b0e0c809674ff45486991ced4175f400e9c50473 /stream/stream.c | |
parent | a10fee0d52157021bd2ed7ffd1fa277594033d34 (diff) | |
download | mpv-27b633671f01a0f97518459717d273f45358bfb0.tar.bz2 mpv-27b633671f01a0f97518459717d273f45358bfb0.tar.xz |
stream: remove pointless check
Diffstat (limited to 'stream/stream.c')
-rw-r--r-- | stream/stream.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/stream/stream.c b/stream/stream.c index de3c6b4f7a..4f12e57856 100644 --- a/stream/stream.c +++ b/stream/stream.c @@ -512,13 +512,9 @@ int stream_seek_long(stream_t *s, int64_t pos) else newpos = pos & (~((int64_t)STREAM_BUFFER_SIZE - 1)); - if (mp_msg_test(MSGT_STREAM, MSGL_DBG3)) { - mp_msg( - MSGT_STREAM, MSGL_DBG3, - "s->pos=%" PRIX64 " newpos=%" PRIX64 " new_bufpos=%" PRIX64 - " buflen=%X \n", - (int64_t)s->pos, (int64_t)newpos, (int64_t)pos, s->buf_len); - } + mp_msg(MSGT_STREAM, MSGL_DBG3, "s->pos=%" PRIX64 " newpos=%" PRIX64 + " new_bufpos=%" PRIX64 " buflen=%X \n", + (int64_t)s->pos, (int64_t)newpos, (int64_t)pos, s->buf_len); pos -= newpos; res = stream_seek_internal(s, newpos); |