decoder/audiofile: log seek errors
This commit is contained in:
parent
69bb086ba5
commit
ca1a11493d
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue