mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-25 16:52:31 +00:00
avcodec/mpegvideo: ff_mpeg_set_erpic() clear destination
Fixes crash Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
533bc4c0a3
commit
8ef9dcf1d7
@ -3199,6 +3199,7 @@ void ff_mpeg_set_erpic(ERPicture *dst, Picture *src)
|
||||
{
|
||||
int i;
|
||||
|
||||
memset(dst, 0, sizeof(*dst));
|
||||
if (!src)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user