Commit 616734f3 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

AVI: remove dead assignment

parent 6ba5e8e8
......@@ -48,14 +48,11 @@ static vlc_fourcc_t GetFOURCC( const uint8_t *p_buff )
static int AVI_ChunkReadCommon( stream_t *s, avi_chunk_t *p_chk )
{
const uint8_t *p_peek;
int i_peek;
memset( p_chk, 0, sizeof( avi_chunk_t ) );
if( ( i_peek = stream_Peek( s, &p_peek, 8 ) ) < 8 )
{
if( stream_Peek( s, &p_peek, 8 ) < 8 )
return VLC_EGENERIC;
}
p_chk->common.i_chunk_fourcc = GetFOURCC( p_peek );
p_chk->common.i_chunk_size = GetDWLE( p_peek + 4 );
......
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