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 16:39:04 +0000 (17:39 +0100)
commit1b3dffc0c7ff260e296573a0977735fe9e60d273
tree6b1c605cac16cdb39532bb3cd806f1c09b445c99
parentd472b83abc765cc84e569b3778c746c6179a5d2f
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/mpeg12enc.c
libavcodec/mpegvideo.h
libavcodec/mpegvideo_enc.c
libavcodec/snowenc.c