Commit dba3e1d0 authored by Filip Roséen's avatar Filip Roséen Committed by Jean-Baptiste Kempf

mkv: removed unnecessary variable and cleaned up expression

Signed-off-by: Jean-Baptiste Kempf's avatarJean-Baptiste Kempf <jb@videolan.org>
parent 2e185a27
......@@ -862,8 +862,7 @@ void matroska_segment_c::ParseInfo( KaxInfo *info )
InfoHandlers::Dispatcher().iterate( m->begin(), m->end(), InfoHandlers::Payload( captures ) );
double f_dur = double(i_duration) * double(i_timescale) / 1000000.0;
i_duration = mtime_t(f_dur);
i_duration = mtime_t( static_cast<double>( i_duration * i_timescale ) / 10e5 );
if( !i_duration ) i_duration = -1;
}
......
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