avcodec/mpegvideo: ff_mpeg_set_erpic() clear destination

Fixes crash

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/293/head
Michael Niedermayer 11 years ago
parent 533bc4c0a3
commit 8ef9dcf1d7
  1. 1
      libavcodec/mpegvideo.c

@ -3199,6 +3199,7 @@ void ff_mpeg_set_erpic(ERPicture *dst, Picture *src)
{
int i;
memset(dst, 0, sizeof(*dst));
if (!src)
return;

Loading…
Cancel
Save