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>
Fri, 13 Oct 2017 11:02:23 +0000 (13:02 +0200)
commitf052d1df3e598a5d7f11edb257d1ce88160db6f1
tree6e33df7ee8065cbe7b8748f10c1397bc382a5eb9
parent11f5a1319646d25308524e6278aee9beadff4e8c
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>
(cherry picked from commit c20f4fcb74da2d0432c7b54499bb98f48236b904)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/ffv1dec.c