aboutsummaryrefslogtreecommitdiffstats
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
parent0d7ee2b014db4f5072ac17839d0c7f3535c60675 (diff)
downloadmpd-aed0af1e00b7d3f1bbe886a50cc140d01fc2bff8.tar.gz
mpd-aed0af1e00b7d3f1bbe886a50cc140d01fc2bff8.tar.xz
mpd-aed0af1e00b7d3f1bbe886a50cc140d01fc2bff8.zip
input/smbclient: fix DFF playback
Diffstat (limited to '')
-rw-r--r--NEWS2
-rw-r--r--src/input/plugins/SmbclientInputPlugin.cxx1
2 files changed, 3 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index 73f1b403a..493177025 100644
--- a/NEWS
+++ b/NEWS
@@ -1,4 +1,6 @@
ver 0.19.10 (not yet released)
+* input
+ - smbclient: fix DFF playback
* encoder
- opus: fix bogus granulepos
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;
}