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:
parent
c237e88d51
commit
6102dda1d7
@ -3010,6 +3010,8 @@ static void h264_set_erpic(ERPicture *dst, H264Picture *src)
|
||||
{
|
||||
int i;
|
||||
|
||||
memset(dst, 0, sizeof(*dst));
|
||||
|
||||
if (!src)
|
||||
return;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user