Browse Source

avcodec/h264: h264_set_erpic() clear destination

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
6102dda1d7
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      libavcodec/h264.c

+ 2
- 0
libavcodec/h264.c 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;



Loading…
Cancel
Save