mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Off by one -- make tagreader work with mpc files.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@331318 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
parent
fd09b23aa0
commit
ab51136a54
@ -130,7 +130,7 @@ File *FileRef::create(const char *fileName, bool readAudioProperties,
|
||||
return new MPEG::File(fileName, readAudioProperties, audioPropertiesStyle);
|
||||
if(s.substr(s.size() - 5, 5).upper() == ".FLAC")
|
||||
return new FLAC::File(fileName, readAudioProperties, audioPropertiesStyle);
|
||||
if(s.substr(s.size() - 5, 4).upper() == ".MPC")
|
||||
if(s.substr(s.size() - 4, 4).upper() == ".MPC")
|
||||
return new MPC::File(fileName, readAudioProperties, audioPropertiesStyle);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user