Commit 1286801e authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

AVI: small fix when parsing metadata

Closes #4765
parent 82497e9a
......@@ -630,7 +630,7 @@ static int AVI_ChunkRead_strz( stream_t *s, avi_chunk_t *p_chk )
if( p_strz->i_chunk_size )
{
memcpy( p_strz->p_str, p_read, i_read );
memcpy( p_strz->p_str, p_read, p_strz->i_chunk_size );
}
p_strz->p_str[i_read] = 0;
......
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