Commit e8a0ce64 authored by Max Kellermann's avatar Max Kellermann

tag/Generic: fail if InputStream is not seekable

parent 9ed4fac3
...@@ -31,6 +31,9 @@ ...@@ -31,6 +31,9 @@
bool bool
ScanGenericTags(InputStream &is, TagHandler &handler) ScanGenericTags(InputStream &is, TagHandler &handler)
{ {
if (!is.IsSeekable())
return false;
if (tag_ape_scan2(is, handler)) if (tag_ape_scan2(is, handler))
return true; return true;
......
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