diff options
-rw-r--r-- | xbmc/Id3Tag.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/xbmc/Id3Tag.cpp b/xbmc/Id3Tag.cpp index 2797b73c0e..1f0a7d04d5 100644 --- a/xbmc/Id3Tag.cpp +++ b/xbmc/Id3Tag.cpp @@ -485,6 +485,9 @@ CStdString CID3Tag::ParseMP3Genre(const CStdString& str) const // remove any leading spaces strTemp.TrimLeft(); + if (strTemp.IsEmpty()) + break; + // start off looking for (something) if (strTemp[0] == '(') { |