tag/Generic: use InputStream::LockRewind() instead of Rewind()
Fixes deadlock.
This commit is contained in:
parent
cfc65397b3
commit
99a05c56ad
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user