Commit fa8f490a authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Backport [15827] OpenML fix

parent c07ceb57
...@@ -731,8 +731,10 @@ int _AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father ) ...@@ -731,8 +731,10 @@ int _AVI_ChunkRead( stream_t *s, avi_chunk_t *p_chk, avi_chunk_t *p_father )
{ {
return AVI_Chunk_Function[i_index].AVI_ChunkRead_function( s, p_chk ); return AVI_Chunk_Function[i_index].AVI_ChunkRead_function( s, p_chk );
} }
else if( ((char*)&p_chk->common.i_chunk_fourcc)[0] == 'i' && else if( ( ((char*)&p_chk->common.i_chunk_fourcc)[0] == 'i' &&
((char*)&p_chk->common.i_chunk_fourcc)[1] == 'x' ) ((char*)&p_chk->common.i_chunk_fourcc)[1] == 'x' ) ||
( ((char*)&p_chk->common.i_chunk_fourcc)[2] == 'i' &&
((char*)&p_chk->common.i_chunk_fourcc)[3] == 'x' ) )
{ {
p_chk->common.i_chunk_fourcc = AVIFOURCC_indx; p_chk->common.i_chunk_fourcc = AVIFOURCC_indx;
return AVI_ChunkRead_indx( s, p_chk ); return AVI_ChunkRead_indx( s, p_chk );
......
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