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>
Fri, 13 Apr 2018 21:09:12 +0000 (23:09 +0200)
commitb8ef20becf92cec9736eacb4c8cb2e9abfea6a3d
tree6a3fa27d2e164261011dc1bf38db6cc0ecb85324
parentd7bda29820f0f71b76857f364f9178220a36b535
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