Skip to content
Permalink
Browse files

fix for #184

  • Loading branch information...
barbibulle committed Sep 9, 2017
1 parent 2f267f8 commit 41cad602709436628f07b4c4f64e9ff7a611f687
Showing with 4 additions and 2 deletions.
  1. +4 −2 Source/C++/MetaData/Ap4MetaData.cpp
@@ -1258,7 +1258,8 @@ AP4_AtomMetaDataValue::ToInteger() const
+---------------------------------------------------------------------*/
AP4_DataAtom::AP4_DataAtom(const AP4_MetaData::Value& value) :
AP4_Atom(AP4_ATOM_TYPE_DATA, AP4_ATOM_HEADER_SIZE),
m_DataType(DATA_TYPE_BINARY)
m_DataType(DATA_TYPE_BINARY),
m_Source(NULL)
{
AP4_MemoryByteStream* memory = new AP4_MemoryByteStream();
AP4_Size payload_size = 8;
@@ -1334,7 +1335,8 @@ AP4_DataAtom::AP4_DataAtom(const AP4_MetaData::Value& value) :
| AP4_DataAtom::AP4_DataAtom
+---------------------------------------------------------------------*/
AP4_DataAtom::AP4_DataAtom(AP4_UI32 size, AP4_ByteStream& stream) :
AP4_Atom(AP4_ATOM_TYPE_DATA, size)
AP4_Atom(AP4_ATOM_TYPE_DATA, size),
m_Source(NULL)
{
if (size < AP4_ATOM_HEADER_SIZE+8) return;

0 comments on commit 41cad60

Please sign in to comment.
You can’t perform that action at this time.