gme: check for empty metadata strings instead of nullptr

Using libgme 0.6.2 on macOS, it appears that gme_info_t strings can be
empty, which creates weird track titles: (001/050)

This adds an additional check for an empty string.
This commit is contained in:
John Regan
2020-02-18 15:06:52 -05:00
committed by Max Kellermann
parent 9abb686eeb
commit 976372ff63
2 changed files with 8 additions and 5 deletions

2
NEWS
View File

@@ -1,4 +1,6 @@
ver 0.21.21 (not yet released)
* decoder
- gme: ignore empty tags
ver 0.21.20 (2020/02/16)
* decoder