avcodec/h264: h264_set_erpic() clear destination

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/293/head
Michael Niedermayer 11 years ago
parent c237e88d51
commit 6102dda1d7
  1. 2
      libavcodec/h264.c

@ -3010,6 +3010,8 @@ static void h264_set_erpic(ERPicture *dst, H264Picture *src)
{
int i;
memset(dst, 0, sizeof(*dst));
if (!src)
return;

Loading…
Cancel
Save