aboutsummaryrefslogtreecommitdiffstats
path: root/src/decoder
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-07-11 21:10:49 +0200
committerMax Kellermann <max@duempel.org>2014-07-11 21:18:44 +0200
commitca1a11493d5d5a8637530fa88b2a05794b92b456 (patch)
tree6da413ff73bddf0a48096ba535d8c67b233b9b0f /src/decoder
parent69bb086ba535bb9f2631240c3f1b206f807522e6 (diff)
downloadmpd-ca1a11493d5d5a8637530fa88b2a05794b92b456.tar.gz
mpd-ca1a11493d5d5a8637530fa88b2a05794b92b456.tar.xz
mpd-ca1a11493d5d5a8637530fa88b2a05794b92b456.zip
decoder/audiofile: log seek errors
Diffstat (limited to 'src/decoder')
-rw-r--r--src/decoder/AudiofileDecoderPlugin.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/decoder/AudiofileDecoderPlugin.cxx b/src/decoder/AudiofileDecoderPlugin.cxx
index ae76a4302..9f097f90b 100644
--- a/src/decoder/AudiofileDecoderPlugin.cxx
+++ b/src/decoder/AudiofileDecoderPlugin.cxx
@@ -110,6 +110,7 @@ audiofile_file_seek(AFvirtualfile *vfile, AFfileoffset offset, int is_relative)
Error error;
if (is.LockSeek(offset, whence, error)) {
+ LogError(error, "Seek failed");
return is.GetOffset();
} else {
return -1;