Skip to content
Snippets Groups Projects
Commit d9883ded authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

avcodec/me_cmp: Fix median_sad size


Fixes out of array read
Fixes: COV1396255

Signed-off-by: default avatarMichael Niedermayer <michael@niedermayer.cc>
parent 9478bd87
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment