From: Derk-Jan Hartman Date: Mon, 13 Jun 2005 20:51:22 +0000 (+0000) Subject: * backport of [11409] X-Git-Tag: 0.8.2~53 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=075cb022ee2ac83ac47da524922bc91e19d78300;p=vlc * backport of [11409] --- diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp index f4140c6a16..0a0df378ea 100644 --- a/modules/demux/mkv.cpp +++ b/modules/demux/mkv.cpp @@ -1468,8 +1468,8 @@ static int Open( vlc_object_t * p_this ) !s_filename.compare(s_filename.length() - 3, 3, "mka")) #endif { - // test wether this file belongs to the our family - StdIOCallback *p_file_io = new StdIOCallback(s_filename.c_str(), MODE_READ); + // test wether this file belongs to our family + vlc_stream_io_callback *p_file_io = new vlc_stream_io_callback( stream_UrlNew( p_demux, s_filename.c_str())); EbmlStream *p_estream = new EbmlStream(*p_file_io); p_stream = p_sys->AnalyseAllSegmentsFound( p_estream );