Fix code style and errors
This commit is contained in:
2
3rdparty/taglib/trueaudio/trueaudiofile.cpp
vendored
2
3rdparty/taglib/trueaudio/trueaudiofile.cpp
vendored
@@ -50,7 +50,7 @@ namespace
|
||||
class TrueAudio::File::FilePrivate
|
||||
{
|
||||
public:
|
||||
FilePrivate(const ID3v2::FrameFactory *frameFactory = ID3v2::FrameFactory::instance()) :
|
||||
explicit FilePrivate(const ID3v2::FrameFactory *frameFactory = ID3v2::FrameFactory::instance()) :
|
||||
ID3v2FrameFactory(frameFactory),
|
||||
ID3v2Location(-1),
|
||||
ID3v2OriginalSize(0),
|
||||
|
||||
@@ -160,7 +160,6 @@ void TrueAudio::Properties::read(const ByteVector &data, long streamLength)
|
||||
pos += 4;
|
||||
|
||||
d->sampleFrames = data.toUInt(pos, false);
|
||||
pos += 4;
|
||||
|
||||
if(d->sampleFrames > 0 && d->sampleRate > 0) {
|
||||
const double length = d->sampleFrames * 1000.0 / d->sampleRate;
|
||||
|
||||
Reference in New Issue
Block a user