]> granicus.if.org Git - libmatroska/commitdiff
cosmetics: restore alignment/indentation
authorMoritz Bunkus <mo@bunkus.online>
Sat, 24 Sep 2022 19:27:21 +0000 (21:27 +0200)
committerMoritz Bunkus <mo@bunkus.online>
Sat, 24 Sep 2022 19:27:21 +0000 (21:27 +0200)
matroska/KaxBlock.h
matroska/KaxCluster.h

index c48c082ea8fc268ebe86998759c1e1689a1c1e1c..bc56d4aa754926dbb822a56ca5e19d6828245400 100644 (file)
@@ -54,9 +54,9 @@ class KaxBlockBlob;
 
 class MATROSKA_DLL_API DataBuffer {
   protected:
-    binary *myBuffer{nullptr};
+    binary  *myBuffer{nullptr};
     uint32   mySize;
-    bool bValidValue{true};
+    bool     bValidValue{true};
     bool     (*myFreeBuffer)(const DataBuffer & aBuffer); // method to free the internal buffer
     bool     bInternalBuffer;
 
@@ -273,20 +273,20 @@ class MATROSKA_DLL_API KaxInternalBlock : public EbmlBinary {
   protected:
     std::vector<DataBuffer *> myBuffers;
     std::vector<int32>        SizeList;
-    uint64     Timecode; // temporary timecode of the first frame, non scaled
-    int16      LocalTimecode;
-    bool bLocalTimecodeUsed{false};
-    uint16     TrackNumber;
-    LacingType mLacing{LACING_AUTO};
-    bool mInvisible{false};
-    uint64     FirstFrameLocation;
+    uint64                    Timecode; // temporary timecode of the first frame, non scaled
+    int16                     LocalTimecode;
+    bool                      bLocalTimecodeUsed{false};
+    uint16                    TrackNumber;
+    LacingType                mLacing{LACING_AUTO};
+    bool                      mInvisible{false};
+    uint64                    FirstFrameLocation;
+
+    KaxCluster               *ParentCluster{nullptr};
+    bool                      bIsSimple;
+    bool                      bIsKeyframe{true};
+    bool                      bIsDiscardable{false};
 
     filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault = false) override;
-
-    KaxCluster *ParentCluster{nullptr};
-    bool       bIsSimple;
-    bool bIsKeyframe{true};
-    bool bIsDiscardable{false};
 };
 
 DECLARE_MKX_CONTEXT(KaxBlock)
@@ -364,9 +364,9 @@ DECLARE_MKX_BINARY_CONS(KaxBlockVirtual)
 
     void SetParent(const KaxCluster & aParentCluster) {ParentCluster = &aParentCluster;}
 
-        filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault) override;
+    filepos_t RenderData(IOCallback & output, bool bForceRender, bool bSaveDefault) override;
 
-        filepos_t ReadData(IOCallback & input, ScopeMode ReadFully = SCOPE_ALL_DATA) override;
+    filepos_t ReadData(IOCallback & input, ScopeMode ReadFully = SCOPE_ALL_DATA) override;
 
   protected:
     uint64 Timecode; // temporary timecode of the first frame if there are more than one
index 3149b57a91d29df315e670f3651ec5d23c47dbba..eb89d88883111c7f2b0bd91c3746f0e9f168dec9 100644 (file)
@@ -143,10 +143,10 @@ DECLARE_MKX_MASTER_CONS(KaxCluster)
     uint64 MinTimecode, MaxTimecode, PreviousTimecode;
     int64  TimecodeScale;
 
-    bool bFirstFrameInside{false}; // used to speed research
-    bool bPreviousTimecodeIsSet{false};
-    bool bTimecodeScaleIsSet{false};
-    bool bSilentTracksUsed{false};
+    bool   bFirstFrameInside{false}; // used to speed research
+    bool   bPreviousTimecodeIsSet{false};
+    bool   bTimecodeScaleIsSet{false};
+    bool   bSilentTracksUsed{false};
 
     /*!
       \note method used internally