avcodec/ffv1dec: Fix out of array read in slice counting
authorMichael Niedermayer <michael@niedermayer.cc>
Mon, 9 Oct 2017 09:49:28 +0000 (11:49 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Tue, 10 Oct 2017 21:58:41 +0000 (23:58 +0200)
commitc20f4fcb74da2d0432c7b54499bb98f48236b904
tree59db97838648684c96e81644d605cae4dc8ee752
parentbdee75a4e750735ab3039f004275ac8479072048
avcodec/ffv1dec: Fix out of array read in slice counting

Fixes: test-201710.mp4

Found-by: 连一汉 <lianyihan@360.cn> and Zhibin Hu
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffv1dec.c