Commit 99a05c56 authored by Max Kellermann's avatar Max Kellermann

tag/Generic: use InputStream::LockRewind() instead of Rewind()

Fixes deadlock.
parent cfc65397
......@@ -38,7 +38,7 @@ ScanGenericTags(InputStream &is, const TagHandler &handler, void *ctx)
return true;
#ifdef ENABLE_ID3TAG
if (!is.Rewind(IgnoreError()))
if (!is.LockRewind(IgnoreError()))
return false;
return tag_id3_scan(is, handler, ctx);
......
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