tag/Generic: fail if InputStream is not seekable

This commit is contained in:
Max Kellermann 2019-05-31 17:49:37 +02:00
parent 9ed4fac341
commit e8a0ce643a
1 changed files with 3 additions and 0 deletions

View File

@ -31,6 +31,9 @@
bool
ScanGenericTags(InputStream &is, TagHandler &handler)
{
if (!is.IsSeekable())
return false;
if (tag_ape_scan2(is, handler))
return true;