From ea9aff1d3f9f68eb5ae9e5f2bd67d283b8c0f47e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 29 Dec 2013 17:09:40 +0100 Subject: TagFile: rewind the stream before trying the next plugin Got lost in commit c97685fe --- src/TagFile.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/TagFile.cxx') 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); -- cgit v1.2.3