Commit 164c7d31 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...
parent ea52acf7
...@@ -113,7 +113,7 @@ static int AVI_ChunkRead_list( stream_t *s, avi_chunk_t *p_container ) ...@@ -113,7 +113,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