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

ffmpeg: fix corruption in earlier memory copy removal

parent 099ecfa6
...@@ -534,7 +534,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block ) ...@@ -534,7 +534,7 @@ picture_t *DecodeVideo( decoder_t *p_dec, block_t **pp_block )
if( !p_block ) if( !p_block )
return NULL; return NULL;
*pp_block = p_block; *pp_block = p_block;
memset( p_block->p_buffer + p_block->i_buffer, 0, memset( p_block->p_buffer + p_block->i_buffer - FF_INPUT_BUFFER_PADDING_SIZE, 0,
FF_INPUT_BUFFER_PADDING_SIZE ); 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