[vlc-commits] mkv: use stream_Size()
Rémi Denis-Courmont
git at videolan.org
Wed Oct 21 18:22:22 CEST 2015
vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Fri Jul 24 16:02:38 2015 +0300| [12f5dd9afe7c49c4ba33dde26ee593cdad5a27f3] | committer: Jean-Baptiste Kempf
mkv: use stream_Size()
(cherry picked from commit ea01e45fd13730c9b9a6c1d11903edfb17251303)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=12f5dd9afe7c49c4ba33dde26ee593cdad5a27f3
---
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