[vlc-commits] libavi: don't limit probing to movi when non-fastseekable

Francois Cartegnie git at videolan.org
Sun Jun 14 19:04:31 CEST 2015


vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat May 30 16:18:24 2015 +0200| [4fea9f195b9410622430ed5251bc342e68d08f54] | committer: Jean-Baptiste Kempf

libavi: don't limit probing to movi when non-fastseekable

(cherry picked from commit fe50471f305840c6f44e954d9c1d01d2b61f0e4e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 modules/demux/avi/libavi.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index d0cfe71..44aa99a 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -126,7 +126,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
         return VLC_EGENERIC;
     }
 
-    stream_Control( s, STREAM_CAN_FASTSEEK, &b_seekable );
+    stream_Control( s, STREAM_CAN_SEEK, &b_seekable );
 
     p_container->list.i_type = GetFOURCC( p_peek + 8 );
 
@@ -1051,7 +1051,7 @@ int AVI_ChunkReadRoot( stream_t *s, avi_chunk_t *p_root )
     avi_chunk_t      *p_chk;
     bool b_seekable;
 
-    stream_Control( s, STREAM_CAN_FASTSEEK, &b_seekable );
+    stream_Control( s, STREAM_CAN_SEEK, &b_seekable );
 
     p_list->i_chunk_pos  = 0;
     p_list->i_chunk_size = stream_Size( s );



More information about the vlc-commits mailing list