[vlc-commits] mkv: use stream_Size()

Rémi Denis-Courmont git at videolan.org
Fri Jul 24 15:21:56 CEST 2015


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jul 24 16:02:38 2015 +0300| [ea01e45fd13730c9b9a6c1d11903edfb17251303] | committer: Rémi Denis-Courmont

mkv: use stream_Size()

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ea01e45fd13730c9b9a6c1d11903edfb17251303
---

 modules/demux/mkv/stream_io_callback.cpp |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/demux/mkv/stream_io_callback.cpp b/modules/demux/mkv/stream_io_callback.cpp
index 7af0871..555cc9b 100644
--- a/modules/demux/mkv/stream_io_callback.cpp
+++ b/modules/demux/mkv/stream_io_callback.cpp
@@ -98,7 +98,7 @@ uint64 vlc_stream_io_callback::toRead( void )
     if( s == NULL)
         return 0;
 
-    stream_Control( s, STREAM_GET_SIZE, &i_size );
+    i_size = stream_Size( s );
 
     if( i_size == 0 )
         return UINT64_MAX;



More information about the vlc-commits mailing list