avcodec/svq3: fix slice size check
authorMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Aug 2016 20:09:54 +0000 (22:09 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Sat, 20 Aug 2016 20:11:50 +0000 (22:11 +0200)
commit2624695484cde26baedac10192856ebfd97f2cc7
tree02c628ec9afa7a9c5809e8cdbc0e38f51fe196b1
parent8b43ee4054af799e388d380b379a13a60849c1b5
avcodec/svq3: fix slice size check

Fixes out of array read
Fixes: 09f46aa2175cade93e3e3932646a56a9/asan_heap-oob_4a5385_2995_498f6abfdc0248288cefe5f4b7ad316c.mov

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/svq3.c