aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-08-18 09:52:53 +0200
committerMax Kellermann <max@duempel.org>2014-08-18 09:52:53 +0200
commit41a4b280eea21dd584225bb394a0522ddf504964 (patch)
tree3541fbca155f0ae4bdc4559a8e3a3e047a3b6cd4 /src
parent27139bf41f145fb11ae266baafdf00297404306b (diff)
downloadmpd-41a4b280eea21dd584225bb394a0522ddf504964.tar.gz
mpd-41a4b280eea21dd584225bb394a0522ddf504964.tar.xz
mpd-41a4b280eea21dd584225bb394a0522ddf504964.zip
input/ffmpeg: update offset after seeking
Diffstat (limited to '')
-rw-r--r--src/input/plugins/FfmpegInputPlugin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/plugins/FfmpegInputPlugin.cxx b/src/input/plugins/FfmpegInputPlugin.cxx
index a31014c26..05ad20c36 100644
--- a/src/input/plugins/FfmpegInputPlugin.cxx
+++ b/src/input/plugins/FfmpegInputPlugin.cxx
@@ -143,6 +143,7 @@ FfmpegInputStream::Seek(offset_type new_offset, Error &error)
return false;
}
+ offset = result;
eof = false;
return true;
}