diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-12-16 23:13:08 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-12-16 23:51:06 +0400 |
commit | 9d946c62eb3b9de9ec0d7c21983d9c9c22d28a52 (patch) | |
tree | ddeaec966579362f942594037bf150f281ae37dd /demuxer/Demuxers/Packet.cpp | |
parent | 24d83006f7832d1e5fcfba48ee247e4fb69aef08 (diff) |
Initialize class variables in the class, instead of the constructor
This uses the new C++11 initialization features, which put the init
in the same place where they are declared.
Diffstat (limited to 'demuxer/Demuxers/Packet.cpp')
-rw-r--r-- | demuxer/Demuxers/Packet.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/demuxer/Demuxers/Packet.cpp b/demuxer/Demuxers/Packet.cpp index f3e31396..44c01d4b 100644 --- a/demuxer/Demuxers/Packet.cpp +++ b/demuxer/Demuxers/Packet.cpp @@ -21,16 +21,6 @@ #include "Packet.h" Packet::Packet() - : pmt(NULL) - , bDiscontinuity(FALSE) - , bSyncPoint(FALSE) - , rtStart(INVALID_TIME) - , rtStop(INVALID_TIME) - , bPosition(-1) - , dwFlags(0) - , m_DataSize(0) - , m_Data(NULL) - , m_Buf(NULL) { } |