avcodec/bink: use av_mallocz for data
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Dec 2013 15:52:37 +0000 (16:52 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 15 Dec 2013 15:53:32 +0000 (16:53 +0100)
commite838c9852e6f0a471a6917083e70e6fe238ba26a
tree04f64a4de1cbce7bea250c10c0850b3350df6557
parent0e0f6bd4a5796f4f668092d7925a31b9b30fedd4
avcodec/bink: use av_mallocz for data

Fixes use of uninitialized memory
Fixes msan_uninit-mem_7fe8a5fd759d_2838_SPECTRE.BIK
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/bink.c