mkv.cpp: correct use of the default chapter edition
authorSteve Lhomme <robux@videolan.org>
Wed, 2 Mar 2005 10:34:01 +0000 (10:34 +0000)
committerSteve Lhomme <robux@videolan.org>
Wed, 2 Mar 2005 10:34:01 +0000 (10:34 +0000)
modules/demux/mkv.cpp

index aae080b..b088f4e 100644 (file)
@@ -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
                 {