]> git.sesse.net Git - vlc/commitdiff
* backport of [11409]
authorDerk-Jan Hartman <hartman@videolan.org>
Mon, 13 Jun 2005 20:51:22 +0000 (20:51 +0000)
committerDerk-Jan Hartman <hartman@videolan.org>
Mon, 13 Jun 2005 20:51:22 +0000 (20:51 +0000)
modules/demux/mkv.cpp

index f4140c6a16abe6224e6eed0183492326c5afb071..0a0df378ea9dac1368bdbaecfdebdab991c9e0a2 100644 (file)
@@ -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 );