Commit 6809c5dc authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

AVI: be less picky about wrong sizes for LIST chunk

Some muxers are unable to read the spec...
(cherry picked from commit 164c7d31939a16674cd5c678e453085af2cbef4c)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent d9ca6136
...@@ -114,7 +114,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container ) ...@@ -114,7 +114,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container )
const uint8_t *p_peek; const uint8_t *p_peek;
bool b_seekable; 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 */ /* empty box */
msg_Warn( (vlc_object_t*)s, "empty list chunk" ); msg_Warn( (vlc_object_t*)s, "empty list chunk" );
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment