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

faad: remove broken vlc_memcpy() instead of memmove()

We do not need to copy here anyway.
parent f41b8cd0
......@@ -222,9 +222,7 @@ static aout_buffer_t *DecodeBlock( decoder_t *p_dec, block_t **pp_block )
/* FIXME: multiple blocks per frame */
if( p_block->i_buffer > i_header_size )
{
vlc_memcpy( p_block->p_buffer,
p_block->p_buffer + i_header_size,
p_block->i_buffer - i_header_size );
p_block->p_buffer += i_header_size;
p_block->i_buffer -= i_header_size;
}
}
......
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