Commit 6102dda1 authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/h264: h264_set_erpic() clear destination

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent c237e88d
......@@ -3010,6 +3010,8 @@ static void h264_set_erpic(ERPicture *dst, H264Picture *src)
{
int i;
memset(dst, 0, sizeof(*dst));
if (!src)
return;
......
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