diff options
author | Max Kellermann <max@duempel.org> | 2016-02-26 14:00:30 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-02-26 14:00:30 +0100 |
commit | 677334f5a92f54cba801134dfb7865398ad4db04 (patch) | |
tree | e46a79e3d76c23ee200447b55babad0534a519b0 /src/tag | |
parent | 3d9652ae356f23d645200ca83cdce25ff4fb9690 (diff) |
tag/TagId3: re-add missing tag_id3_load()==nullptr check
Diffstat (limited to 'src/tag')
-rw-r--r-- | src/tag/TagId3.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tag/TagId3.cxx b/src/tag/TagId3.cxx index 9bf0eb8c4..f6b2b1d06 100644 --- a/src/tag/TagId3.cxx +++ b/src/tag/TagId3.cxx @@ -351,6 +351,8 @@ tag_id3_scan(InputStream &is, try { tag = tag_id3_load(is); + if (!tag) + return false; } catch (const std::runtime_error &e) { LogError(e); return false; |