vlc/vlc-2.2 | branch: master | Francois Cartegnie <[email protected]> | Tue Jul 22 01:03:19 2014 +0900| [b0d898abebf291f359b604c268a7cfe90e91ac68] | committer: Jean-Baptiste Kempf
demux: avi: don't probe end if not seekable (cherry picked from commit 94568687c4ee70c12b0a5f523a7ba040ea03a018) Signed-off-by: Jean-Baptiste Kempf <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=b0d898abebf291f359b604c268a7cfe90e91ac68 --- modules/demux/avi/avi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c index d1a6b89..62afc67 100644 --- a/modules/demux/avi/avi.c +++ b/modules/demux/avi/avi.c @@ -1079,7 +1079,7 @@ static int Demux_Seekable( demux_t *p_demux ) /* no valid index, we will parse directly the stream * in case we fail we will disable all finished stream */ - if( p_sys->i_movi_lastchunk_pos >= p_sys->i_movi_begin + 12 ) + if( p_sys->b_seekable && p_sys->i_movi_lastchunk_pos >= p_sys->i_movi_begin + 12 ) { stream_Seek( p_demux->s, p_sys->i_movi_lastchunk_pos ); if( AVI_PacketNext( p_demux ) ) _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
