1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-26 19:01:44 +02:00

avcodec/h264: h264_set_erpic() clear destination

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2014-03-17 05:52:05 +01:00
parent c237e88d51
commit 6102dda1d7

View File

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