aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/TagFile.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/TagFile.cxx b/src/TagFile.cxx
index dc0aa6b64..8d29d5ebe 100644
--- a/src/TagFile.cxx
+++ b/src/TagFile.cxx
@@ -67,7 +67,8 @@ public:
IgnoreError());
if (is == nullptr)
return false;
- }
+ } else
+ is->LockRewind(IgnoreError());
/* now try the stream_tag() method */
return plugin.ScanStream(*is, handler, handler_ctx);