avcodec/smc: fix off by 1 error
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 20:50:45 +0000 (22:50 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 3 Oct 2014 20:51:29 +0000 (22:51 +0200)
commitc727401aa9d62335e89d118a5b4e202edf39d905
tree21cad9904086d14211a530f471566c7f4df260c0
parent883bc7d2e7c7e6ba6710b0d5c41e5a584297f66c
avcodec/smc: fix off by 1 error

Fixes out of array access
Fixes: asan_heap-oob_1685bf0_5_asan_heap-oob_1f35116_430_smc.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/smc.c