[vlc-commits] libavi: don't limit probing to movi when non-fastseekable
Francois Cartegnie
git at videolan.org
Sun May 31 12:09:45 CEST 2015
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Sat May 30 16:18:24 2015 +0200| [fe50471f305840c6f44e954d9c1d01d2b61f0e4e] | committer: Francois Cartegnie
libavi: don't limit probing to movi when non-fastseekable
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=fe50471f305840c6f44e954d9c1d01d2b61f0e4e
---
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