From: Derk-Jan Hartman Date: Mon, 13 Jun 2005 20:50:23 +0000 (+0000) Subject: * Largefile support for segmented mkv files (closes #204) X-Git-Tag: 0.8.4~1484 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=628379cc134798493373fb32c746f5ed5e69a250;p=vlc * Largefile support for segmented mkv files (closes #204) --- diff --git a/modules/demux/mkv.cpp b/modules/demux/mkv.cpp index e1ba617feb..ea95470ddb 100644 --- a/modules/demux/mkv.cpp +++ b/modules/demux/mkv.cpp @@ -1470,8 +1470,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 );