Commit ca1a1149 authored by Max Kellermann's avatar Max Kellermann

decoder/audiofile: log seek errors

parent 69bb086b
...@@ -110,6 +110,7 @@ audiofile_file_seek(AFvirtualfile *vfile, AFfileoffset offset, int is_relative) ...@@ -110,6 +110,7 @@ audiofile_file_seek(AFvirtualfile *vfile, AFfileoffset offset, int is_relative)
Error error; Error error;
if (is.LockSeek(offset, whence, error)) { if (is.LockSeek(offset, whence, error)) {
LogError(error, "Seek failed");
return is.GetOffset(); return is.GetOffset();
} else { } else {
return -1; return -1;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment