summaryrefslogtreecommitdiffstats
path: root/stream/stream_bluray.c
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2013-08-22 18:23:33 +0200
committerwm4 <wm4@nowhere>2013-08-22 19:14:26 +0200
commitf806e268c6c3a76f65b1282219e16fcdfb80a9b5 (patch)
tree66876fbc7d96308da11a91456d91ef90223bac23 /stream/stream_bluray.c
parenta790f2133bb785e0c48a7c6cdc730c8b7e8287fb (diff)
downloadmpv-f806e268c6c3a76f65b1282219e16fcdfb80a9b5.tar.bz2
mpv-f806e268c6c3a76f65b1282219e16fcdfb80a9b5.tar.xz
stream: don't require streams to set s->pos in seek callback
Instead, set s->pos depending on the success of the seek callback.
Diffstat (limited to 'stream/stream_bluray.c')
-rw-r--r--stream/stream_bluray.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/stream/stream_bluray.c b/stream/stream_bluray.c
index 3058792766..61e63151fb 100644
--- a/stream/stream_bluray.c
+++ b/stream/stream_bluray.c
@@ -92,7 +92,6 @@ static int bluray_stream_seek(stream_t *s, int64_t pos)
if (p == -1)
return 0;
- s->pos = p;
return 1;
}