[vlc-commits] demux: avi: fix non seekable chunk loop
Francois Cartegnie
git at videolan.org
Sat Jul 26 01:19:58 CEST 2014
vlc/vlc-2.2 | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Wed Jul 16 13:29:29 2014 +0900| [97a2bee11068a0e89303e6c67ecfe243e2e0ed19] | committer: Jean-Baptiste Kempf
demux: avi: fix non seekable chunk loop
(cherry picked from commit bedeabba63920776dcb480803ffce3d4719ff446)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=97a2bee11068a0e89303e6c67ecfe243e2e0ed19
---
modules/demux/avi/libavi.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index c8a1eff..075d7d9 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -142,10 +142,9 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
{
msg_Dbg( (vlc_object_t*)s, "skipping movi chunk" );
if( b_seekable )
- {
return AVI_NextChunk( s, p_container );
- }
- return VLC_SUCCESS; /* point at begining of LIST-movi */
+ else
+ return VLC_EGENERIC; /* point at begining of LIST-movi */
}
if( stream_Read( s, NULL, 12 ) != 12 )
More information about the vlc-commits
mailing list