diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-27 14:34:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-12-06 00:07:50 +0100 |
commit | 2d51cb1d0ad91ced96ca502d97481269de19eeb1 (patch) | |
tree | 7c0bba4cdb6064fa06fabb0acfe86ac3a6899481 /libavcodec | |
parent | c165bad0c0730f700cbdd169870fc0b88c93ca66 (diff) | |
download | ffmpeg-2d51cb1d0ad91ced96ca502d97481269de19eeb1.tar.gz |
avcodec/me_cmp: Fix median_sad size
Fixes out of array read
Fixes: COV1396255
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit d9883ded3450e456df5b7214fe464b4b92e917ef)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/me_cmp.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/me_cmp.h b/libavcodec/me_cmp.h index 5666f59ade..0dbbcbb1d9 100644 --- a/libavcodec/me_cmp.h +++ b/libavcodec/me_cmp.h @@ -76,7 +76,7 @@ typedef struct MECmpContext { me_cmp_func frame_skip_cmp[6]; // only width 8 used me_cmp_func pix_abs[2][4]; - me_cmp_func median_sad[2]; + me_cmp_func median_sad[6]; } MECmpContext; void ff_me_cmp_init_static(void); |