aboutsummaryrefslogtreecommitdiffstats
path: root/src/input/plugins/SmbclientInputPlugin.cxx
diff options
context:
space:
mode:
authorjai <jai2014work@gmail.com>2015-05-29 22:37:49 +0200
committerMax Kellermann <max@duempel.org>2015-05-29 22:37:49 +0200
commitaed0af1e00b7d3f1bbe886a50cc140d01fc2bff8 (patch)
tree9c9c82c67c7262912c4ff917c290417229848580 /src/input/plugins/SmbclientInputPlugin.cxx
parent0d7ee2b014db4f5072ac17839d0c7f3535c60675 (diff)
downloadmpd-aed0af1e00b7d3f1bbe886a50cc140d01fc2bff8.tar.gz
mpd-aed0af1e00b7d3f1bbe886a50cc140d01fc2bff8.tar.xz
mpd-aed0af1e00b7d3f1bbe886a50cc140d01fc2bff8.zip
input/smbclient: fix DFF playback
Diffstat (limited to '')
-rw-r--r--src/input/plugins/SmbclientInputPlugin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/input/plugins/SmbclientInputPlugin.cxx b/src/input/plugins/SmbclientInputPlugin.cxx
index 79987180f..399613720 100644
--- a/src/input/plugins/SmbclientInputPlugin.cxx
+++ b/src/input/plugins/SmbclientInputPlugin.cxx
@@ -132,6 +132,7 @@ SmbclientInputStream::Read(void *ptr, size_t read_size, Error &error)
nbytes = 0;
}
+ offset += nbytes;
return nbytes;
}