diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-27 14:34:57 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2016-11-27 14:34:57 +0100 |
commit | d9883ded3450e456df5b7214fe464b4b92e917ef (patch) | |
tree | 00ec86bf82af770de7878cb2159560958f2f1520 | |
parent | 9478bd87d463c24d8120b64508b4bd6c00bf3ae8 (diff) | |
download | ffmpeg-d9883ded3450e456df5b7214fe464b4b92e917ef.tar.gz |
avcodec/me_cmp: Fix median_sad size
Fixes out of array read
Fixes: COV1396255
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
-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); |