Commit 0aa1307b authored by Steve Lhomme's avatar Steve Lhomme

fix mkvtree after the API changes

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@572 a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent 09f1c682
......@@ -152,7 +152,7 @@ static ebml_element *OutputElement(ebml_element *Element, const ebml_parser_cont
{
//tchar_t UnicodeString[MAXDATA];
//EBML_StringRead((ebml_string*)Element,Input,UnicodeString,TSIZEOF(UnicodeString));
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA)==ERR_NONE)
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA,0)==ERR_NONE)
fprintf(stdout,"'%s'",((ebml_string*)Element)->Buffer);
else
fprintf(stdout,"<error reading>");
......@@ -160,7 +160,7 @@ static ebml_element *OutputElement(ebml_element *Element, const ebml_parser_cont
}
else if (Node_IsPartOf(Element,EBML_DATE_CLASS))
{
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA)==ERR_NONE)
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA,0)==ERR_NONE)
{
datepack_t Date;
datetime_t DateTime = EBML_DateTime((ebml_date*)Element);
......@@ -173,7 +173,7 @@ static ebml_element *OutputElement(ebml_element *Element, const ebml_parser_cont
}
else if (Node_IsPartOf(Element,EBML_INTEGER_CLASS) || Node_IsPartOf(Element,EBML_SINTEGER_CLASS))
{
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA)==ERR_NONE)
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA,0)==ERR_NONE)
{
if (Node_IsPartOf(Element,EBML_SINTEGER_CLASS))
fprintf(stdout,"%"PRId64,EBML_IntegerValue(Element));
......@@ -186,7 +186,7 @@ static ebml_element *OutputElement(ebml_element *Element, const ebml_parser_cont
}
else if (Node_IsPartOf(Element,EBML_FLOAT_CLASS))
{
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA)==ERR_NONE)
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_ALL_DATA,0)==ERR_NONE)
fprintf(stdout,"%f",((ebml_float*)Element)->Value);
else
fprintf(stdout,"<error reading>");
......@@ -200,7 +200,7 @@ static ebml_element *OutputElement(ebml_element *Element, const ebml_parser_cont
}
else if (Node_IsPartOf(Element,EBML_BINARY_CLASS))
{
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_PARTIAL_DATA)==ERR_NONE)
if (EBML_ElementReadData(Element,Input,NULL,0,SCOPE_PARTIAL_DATA,0)==ERR_NONE)
{
uint8_t *Data = ARRAYBEGIN(((ebml_binary*)Element)->Data,uint8_t);
if (Element->DataSize != 0)
......
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