Commit b656a08e authored by Steve Lhomme's avatar Steve Lhomme

mkclean: clean some casts

git-svn-id: https://matroska.svn.sourceforge.net/svnroot/matroska/trunk/foundation_src@776 a6f86f6d-0131-4f8e-9e7b-e335508773d5
parent b81db7a5
......@@ -1726,13 +1726,13 @@ int main(int argc, const char *argv[])
if (Live)
{
// remove MATROSKA_ContextDuration from Live streams
ebml_float *Duration = (ebml_master*)EBML_MasterFindChild(WSegmentInfo, &MATROSKA_ContextDuration);
ebml_float *Duration = (ebml_float*)EBML_MasterFindChild(WSegmentInfo, &MATROSKA_ContextDuration);
if (Duration)
NodeDelete((node*)Duration);
}
else if (TimeCodeScale && TimeCodeScale != OldTimeCodeScale)
{
ebml_float *Duration = (ebml_master*)EBML_MasterFindChild(WSegmentInfo, &MATROSKA_ContextDuration);
ebml_float *Duration = (ebml_float*)EBML_MasterFindChild(WSegmentInfo, &MATROSKA_ContextDuration);
if (Duration)
{
double duration = EBML_FloatValue(Duration);
......
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