avcodec/motion_est: Fix mv_penalty table size
authorMichael Niedermayer <michael@niedermayer.cc>
Tue, 5 Jan 2016 13:41:04 +0000 (14:41 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 15 Jan 2016 15:00:31 +0000 (16:00 +0100)
commit2c58d734132fba3773629d1ce347af2c931267a1
treee838bba37ffe172d1201b86e294b44fd7a3d7dc9
parent5b14f436c6358dc0db599be6a1c635a4135a96a9
avcodec/motion_est: Fix mv_penalty table size

Fixes out of array read

Found-by: Tyson Smith <twsmith@mozilla.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 5b4da8a38a5ed211df9504c85ce401c30af86b97)

Conflicts:

libavcodec/motion_est.h
libavcodec/ituh263enc.c
libavcodec/motion_est.c
libavcodec/motion_est.h
libavcodec/mpeg12enc.c
libavcodec/mpegvideo_enc.c
libavcodec/snowenc.c