OSDN Git Service

avcodec/vc1: fix DIFF2/NORM2 with width<=16
authorMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Dec 2013 16:55:25 +0000 (17:55 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 14 Dec 2013 17:02:01 +0000 (18:02 +0100)
commit2224159c787ed19a3cd2e061bc00af125c9c2cef
treeeb1adf81cb8ae6586a15a717dff4021c4c84ea34
parentc9f72e4b81ae44d1a61459e85a3e1216a239a8ee
avcodec/vc1: fix DIFF2/NORM2 with width<=16

Fixes read of uninitialized memory
Fixes msan_uninit-mem_7f785da000e8_585_480i30__codec_WVC1__mode_2__framerate_29.970__type_2__preproc_17.wmv
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/vc1.c