decoder/{dsdiff,dsf,opus}: fix deadlock while seeking

This commit is contained in:
Max Kellermann
2014-11-24 08:54:30 +01:00
parent 716225cd2f
commit 951bad46e0
3 changed files with 5 additions and 3 deletions

View File

@@ -214,7 +214,7 @@ LoadEOSPacket(InputStream &is, Decoder *decoder, int serialno,
ogg_stream_clear(&os);
/* restore the previous file position */
is.Seek(old_offset, IgnoreError());
is.LockSeek(old_offset, IgnoreError());
return result;
}