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 d9883ded34)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
c165bad0c0
commit
2d51cb1d0a
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue