decoder/audiofile: log seek errors

This commit is contained in:
Max Kellermann
2014-07-11 21:10:49 +02:00
parent 69bb086ba5
commit ca1a11493d

@ -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;