default init variable

Signed-off-by: Rosen Penev <rosenp@gmail.com>
main
Rosen Penev 2 years ago
parent 230fbaf421
commit 3426eaaadf

@ -90,8 +90,8 @@ class EXIV2API AsfVideo : public Image {
class HeaderReader { class HeaderReader {
DataBuf IdBuf_; DataBuf IdBuf_;
uint64_t size_; uint64_t size_{};
uint64_t remaining_size_; uint64_t remaining_size_{};
public: public:
explicit HeaderReader(BasicIo::UniquePtr& io); explicit HeaderReader(BasicIo::UniquePtr& io);
@ -159,7 +159,8 @@ class EXIV2API AsfVideo : public Image {
private: private:
//! Variable to store height and width of a video frame. //! Variable to store height and width of a video frame.
uint64_t height_, width_; uint64_t height_{};
uint64_t width_{};
}; // Class AsfVideo }; // Class AsfVideo

@ -161,13 +161,13 @@ class EXIV2API MatroskaVideo : public Image {
private: private:
//! Variable to check the end of metadata traversing. //! Variable to check the end of metadata traversing.
bool continueTraversing_; bool continueTraversing_{};
//! Variable to store height and width of a video frame. //! Variable to store height and width of a video frame.
uint64_t height_; uint64_t height_{};
uint64_t width_; uint64_t width_{};
uint32_t track_count_; uint32_t track_count_{};
double time_code_scale_ = 1.0; double time_code_scale_ = 1.0;
uint64_t stream_ = 0; uint64_t stream_{};
static constexpr double bytesMB = 1048576; static constexpr double bytesMB = 1048576;

@ -169,7 +169,7 @@ class EXIV2API RiffVideo : public Image {
static constexpr auto CHUNK_ID_VPRP = "VPRP"; static constexpr auto CHUNK_ID_VPRP = "VPRP";
static constexpr auto CHUNK_ID_IDX1 = "IDX1"; static constexpr auto CHUNK_ID_IDX1 = "IDX1";
int streamType_; int streamType_{};
}; // Class RiffVideo }; // Class RiffVideo

Loading…
Cancel
Save