[vlc-commits] AVI: be less picky about wrong sizes for LIST chunk
Jean-Baptiste Kempf
git at videolan.org
Thu May 24 14:30:51 CEST 2012
vlc | branch: master | Jean-Baptiste Kempf <jb at videolan.org> | Thu May 24 13:32:52 2012 +0200| [164c7d31939a16674cd5c678e453085af2cbef4c] | committer: Jean-Baptiste Kempf
AVI: be less picky about wrong sizes for LIST chunk
Some muxers are unable to read the spec...
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=164c7d31939a16674cd5c678e453085af2cbef4c
---
modules/demux/avi/libavi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index 016ec71..3f8310a 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -113,7 +113,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
const uint8_t *p_peek;
bool b_seekable;
- if( p_container->common.i_chunk_size > 0 && p_container->common.i_chunk_size < 8 )
+ if( p_container->common.i_chunk_size > 0 && p_container->common.i_chunk_size < 4 )
{
/* empty box */
msg_Warn( (vlc_object_t*)s, "empty list chunk" );
More information about the vlc-commits
mailing list