vlc/vlc-1.1 | branch: master | Steve Lhomme <[email protected]> | Sun Oct 10 17:59:15 2010 +0200| [ef920ad5eb70a00270d2d71d83b9b06ff7d60b7f] | committer: Jean-Baptiste Kempf
fix Matroska/WebM reading of live HTTP streams Signed-off-by: Jean-Baptiste Kempf <[email protected]> (cherry picked from commit 0e1a2635ecad79f5db007a1509cd029cf2d025de) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-1.1.git/?a=commit;h=ef920ad5eb70a00270d2d71d83b9b06ff7d60b7f --- modules/demux/mkv/stream_io_callback.cpp | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/demux/mkv/stream_io_callback.cpp b/modules/demux/mkv/stream_io_callback.cpp index c5570e7..47d2801 100644 --- a/modules/demux/mkv/stream_io_callback.cpp +++ b/modules/demux/mkv/stream_io_callback.cpp @@ -62,7 +62,7 @@ void vlc_stream_io_callback::setFilePointer(int64_t i_offset, seek_mode mode ) break; } - if( i_pos < 0 || i_pos >= stream_Size( s ) ) + if( i_pos < 0 || ( stream_Size( s ) != 0 && i_pos >= stream_Size( s ) ) ) { mb_eof = true; return; _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
