mirror of
https://github.com/taglib/taglib.git
synced 2025-07-18 21:14:23 -04:00
A few more nitpicks.
git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@331315 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -31,7 +31,7 @@ using namespace TagLib;
|
||||
class MPC::Properties::PropertiesPrivate
|
||||
{
|
||||
public:
|
||||
PropertiesPrivate(ByteVector d, long st, ReadStyle s) :
|
||||
PropertiesPrivate(const ByteVector &d, long st, ReadStyle s) :
|
||||
data(d),
|
||||
streamLength(st),
|
||||
style(s),
|
||||
@ -106,7 +106,7 @@ static const unsigned short sftable [4] = { 44100, 48000, 37800, 32000 };
|
||||
|
||||
void MPC::Properties::read()
|
||||
{
|
||||
if(d->data.mid(0,3) != "MP+")
|
||||
if(d->data.mid(0, 3) != "MP+")
|
||||
return;
|
||||
|
||||
d->version = d->data[3] & 15;
|
||||
@ -137,5 +137,4 @@ void MPC::Properties::read()
|
||||
|
||||
if(!d->bitrate)
|
||||
d->bitrate = ((d->streamLength * 8L) / d->length) / 1000;
|
||||
|
||||
}
|
||||
|
Reference in New Issue
Block a user