Commit 007c8a15 authored by Steve Lhomme's avatar Steve Lhomme

mkv.cpp: correct use of the default chapter edition

parent 4275a65a
......@@ -2877,7 +2877,7 @@ static void ParseChapters( demux_t *p_demux, EbmlElement *chapters )
else if( MKV_IS_ID( l, KaxEditionFlagDefault ) )
{
if (uint8(*static_cast<KaxEditionFlagDefault *>( l )) != 0)
p_sys->i_current_edition = p_sys->editions.size();
i_default_edition = p_sys->editions.size();
}
else
{
......
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