Commit 3f74cbf2 authored by Steve Lhomme's avatar Steve Lhomme

libmatroska2: fix building when ZLIB is disabled (like in mkvalidator)

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@738 a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent 8c468ff2
......@@ -2256,6 +2256,7 @@ static err_t ReadTrackEntry(matroska_trackentry *Element, stream *Input, const e
static filepos_t UpdateDataSizeTrackEntry(matroska_trackentry *Element, bool_t bWithDefault, bool_t bForceWithoutMandatory)
{
#if defined(CONFIG_ZLIB)
bool_t CodecPrivateCompressed = 0;
ebml_integer *Scope = NULL;
ebml_element *Encodings = EBML_MasterFindChild(Element,&MATROSKA_ContextContentEncodings);
......@@ -2317,6 +2318,7 @@ static filepos_t UpdateDataSizeTrackEntry(matroska_trackentry *Element, bool_t b
}
}
}
#endif
return INHERITED(Element,ebml_element_vmt,MATROSKA_TRACKENTRY_CLASS)->UpdateDataSize(Element, bWithDefault, bForceWithoutMandatory);
}
......
CON mkvalidator
{
PROJECT_NAME "mkvalidator"
PROJECT_VERSION 0.3.3
PROJECT_VERSION 0.3.4
PROJECT_VENDOR "Matroska"
USE matroska2
SOURCE mkvalidator.c
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment