OSDN Git Service

avcodec/vc1dec: use av_mallocz for luma_mv
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Dec 2013 20:53:07 +0000 (21:53 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 17 Dec 2013 20:54:20 +0000 (21:54 +0100)
commit3e626548ce6d1ecb86733576dd7272b6ba6352ea
tree18a9ab58b3ecacb1d270874fc2847c03861824ef
parent9be63be1b285aee4f9ef597f0284e91a2f25a386
avcodec/vc1dec: use av_mallocz for luma_mv

This ensures that no mvs are uninitialized at the time of loop filtering
Fixes: msan_uninit-mem_7f0b6dfe293c_2786_SA20021.vc1
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vc1dec.c