Default value of Flags in Index Entry Array fixed
authorWolfgang Ruppel <imftool@t-online.de>
Wed, 23 Oct 2019 18:40:18 +0000 (20:40 +0200)
committerWolfgang Ruppel <imftool@t-online.de>
Wed, 23 Oct 2019 18:40:18 +0000 (20:40 +0200)
src/MXF.h

index b8d11939a4e0674a03b70474fa61b35f3801efed..d6e201a420a76f4bd52e300022747bd0ded226be 100755 (executable)
--- a/src/MXF.h
+++ b/src/MXF.h
@@ -385,7 +385,7 @@ namespace ASDCP
              //              std::list<ui32_t>  SliceOffset;
              //              Array<Rational>    PosTable;
 
-             IndexEntry() : TemporalOffset(0), KeyFrameOffset(0), Flags(0), StreamOffset(0) {}
+             IndexEntry() : TemporalOffset(0), KeyFrameOffset(0), Flags(0x80), StreamOffset(0) {}
              IndexEntry(i8_t t_ofst, i8_t k_ofst, ui8_t flags, ui64_t s_ofst) :
                    TemporalOffset(t_ofst), KeyFrameOffset(k_ofst), Flags(flags), StreamOffset(s_ofst) {}
              inline bool HasValue() const { return true; }