avcodec/mpegvideo: Clear pointers in ff_mpv_common_init()
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 9 Jul 2015 20:16:15 +0000 (22:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 28 Jul 2015 00:42:15 +0000 (02:42 +0200)
commitd137bb92b29895207d0d2fccb34c235451771671
tree643962f72690d86abd5079d3d087b75f9cc63e32
parent4f4ff23ccb88a6e815b9e8cbb95133491f1fb28c
avcodec/mpegvideo: Clear pointers in ff_mpv_common_init()

This ensures that no stale pointers leak through on any path

Fixes: signal_sigsegv_c3097a_991_xtrem_e2_m64q15_a32sxx.3gp

Found-by: Samuel GroƟ, Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit b160fc290cf49b516c5b6ee0730fd9da7fc623b1)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/mpegvideo.c