Merge pull request #726 from amethystAnt/ape-keys-bug

Fixed bug #725 - changed the maximum length of an APE key to 255
This commit is contained in:
Tsuda Kageyu
2016-03-07 06:41:21 +09:00

View File

@ -51,7 +51,7 @@ namespace
{
const char *invalidKeys[] = { "ID3", "TAG", "OGGS", "MP+", 0 };
if(length < 2 || length > 16)
if(length < 2 || length > 255)
return false;
// only allow printable ASCII including space (32..126)