Commit ea9aff1d authored by Max Kellermann's avatar Max Kellermann

TagFile: rewind the stream before trying the next plugin

Got lost in commit c97685fe
parent cecae419
......@@ -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);
......
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