[vlc-commits] demux: avi: invalidate skipped chunks
Francois Cartegnie
git at videolan.org
Thu Jul 20 18:52:39 CEST 2017
vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Jul 20 17:36:25 2017 +0200| [8a04530b1dc3c5e61018f44593c60d61135a9d3a] | committer: Francois Cartegnie
demux: avi: invalidate skipped chunks
so it's not retrievable by ChunkFind()
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=8a04530b1dc3c5e61018f44593c60d61135a9d3a
---
modules/demux/avi/libavi.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index c42c06a59f..dda0e71164 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -954,6 +954,7 @@ int AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father )
{
if ( !p_father )
return VLC_EGENERIC;
+ p_chk->common.i_chunk_fourcc = 0;
return AVI_NextChunk( s, ( i_return == AVI_ZEROSIZED_CHUNK ) ? p_chk : p_father );
}
return i_return;
More information about the vlc-commits
mailing list