[FFmpeg-cvslog] avcodec/h264: h264_set_erpic() clear destination
Michael Niedermayer
git at videolan.org
Mon Mar 17 05:58:03 CET 2014
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Mon Mar 17 05:52:05 2014 +0100| [6102dda1d754925e384e7e195441b1e6cd6d9a9c] | committer: Michael Niedermayer
avcodec/h264: h264_set_erpic() clear destination
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6102dda1d754925e384e7e195441b1e6cd6d9a9c
---
libavcodec/h264.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 3817db6..6af869a 100644
--- a/libavcodec/h264.c
+++ b/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;
More information about the ffmpeg-cvslog
mailing list