diff --git a/NEWS b/NEWS index b75bf700e..78f111ebf 100644 --- a/NEWS +++ b/NEWS @@ -1,6 +1,8 @@ ver 0.18.14 (not yet released) * protocol - fix range parser bug on certain 32 bit architectures +* decoder + - audiofile: fix crash after seeking ver 0.18.13 (2014/08/31) * protocol diff --git a/src/decoder/AudiofileDecoderPlugin.cxx b/src/decoder/AudiofileDecoderPlugin.cxx index 9f097f90b..b1b8bf613 100644 --- a/src/decoder/AudiofileDecoderPlugin.cxx +++ b/src/decoder/AudiofileDecoderPlugin.cxx @@ -110,9 +110,9 @@ 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 { + LogError(error, "Seek failed"); return -1; } }