Commit ea01e45f authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

mkv: use stream_Size()

parent 9f873743
...@@ -98,7 +98,7 @@ uint64 vlc_stream_io_callback::toRead( void ) ...@@ -98,7 +98,7 @@ uint64 vlc_stream_io_callback::toRead( void )
if( s == NULL) if( s == NULL)
return 0; return 0;
stream_Control( s, STREAM_GET_SIZE, &i_size ); i_size = stream_Size( s );
if( i_size == 0 ) if( i_size == 0 )
return UINT64_MAX; return UINT64_MAX;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment