Commit a76fd66d authored by Laurent Aimar's avatar Laurent Aimar

Revert "ffmpeg: fix corruption in earlier memory copy removal"

This reverts commit 39f2d991.
parent 801b6eb9
......@@ -534,7 +534,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
if( !p_block )
return NULL;
*pp_block = p_block;
memset( p_block->p_buffer + p_block->i_buffer - FF_INPUT_BUFFER_PADDING_SIZE, 0,
memset( p_block->p_buffer + p_block->i_buffer, 0,
FF_INPUT_BUFFER_PADDING_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