#1038. Initialize timeScale_ in ctor because MSVC (correctly) refused header member variable initialization.
This commit is contained in:
parent
7817180351
commit
6b89dc9452
@ -223,7 +223,7 @@ namespace Exiv2 {
|
||||
|
||||
private:
|
||||
//! Variable which stores Time Scale unit, used to calculate time.
|
||||
uint64_t timeScale_ = 1;
|
||||
uint64_t timeScale_;
|
||||
//! Variable which stores current stream being processsed.
|
||||
int currentStream_;
|
||||
//! Variable to check the end of metadata traversing.
|
||||
|
||||
@ -610,6 +610,7 @@ namespace Exiv2 {
|
||||
|
||||
QuickTimeVideo::QuickTimeVideo(BasicIo::AutoPtr io)
|
||||
: Image(ImageType::qtime, mdNone, io)
|
||||
, timeScale_(1)
|
||||
{
|
||||
} // QuickTimeVideo::QuickTimeVideo
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user