]> git.sesse.net Git - vlc/blobdiff - modules/demux/mkv/stream_io_callback.hpp
MKV: workaround the seeking-to-0 issue also on android
[vlc] / modules / demux / mkv / stream_io_callback.hpp
index 5bad71b443ea68b7b42fa6fec17e2760bc23e417..1d22a16041db9317cba50587a121e2c8835c0202 100644 (file)
@@ -1,6 +1,5 @@
-
 /*****************************************************************************
- * mkv.cpp : matroska demuxer
+ * stream_io_callback.hpp : matroska demuxer
  *****************************************************************************
  * Copyright (C) 2003-2004 the VideoLAN team
  * $Id$
@@ -45,9 +44,9 @@ class vlc_stream_io_callback: public IOCallback
 
     virtual uint32   read            ( void *p_buffer, size_t i_size);
     virtual void     setFilePointer  ( int64_t i_offset, seek_mode mode = seek_beginning );
-    virtual size_t   write           ( const void *p_buffer, size_t i_size) { return 0; }
+    virtual size_t   write           ( const void *p_buffer, size_t i_size);
     virtual uint64   getFilePointer  ( void );
     virtual void     close           ( void ) { return; }
+    uint64           toRead          ( void );
 };
 
-