avcodec/dfa: Fix off by 1 error
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 May 2017 18:42:11 +0000 (20:42 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 5 May 2017 18:42:55 +0000 (20:42 +0200)
commitf52fbf4f3ed02a7d872d8a102006f29b4421f360
tree452635008cec25b31d74ff26ae2dfc69936b87e9
parent0953736b7e97f6e121a0587a95434bf1857a27da
avcodec/dfa: Fix off by 1 error

Fixes out of array access
Fixes: 1345/clusterfuzz-testcase-minimized-6062963045695488

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/targets/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/dfa.c