avcodec/utils: Enforce minimum width also for VP5/6
authorMichael Niedermayer <michael@niedermayer.cc>
Wed, 11 Apr 2018 17:50:52 +0000 (19:50 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 22 Oct 2018 23:44:40 +0000 (01:44 +0200)
commitcf321e93c4a99635d7b5d39ed5aa6a187a13e834
tree54c25cd8c31e5470b6ca9b2ccfda1f1bfa537b8a
parent065057c8a35197b18a939048fb52380cd37b073e
avcodec/utils: Enforce minimum width also for VP5/6

Fixes: out of array access
Fixes: poc_0411

Found-by: GwanYeong Kim <gy741.kim@gmail.com>
Tested-by: GwanYeong Kim <gy741.kim@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 544324827e0131e43af1a54fb790a48a25fd7ba4)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/utils.c