Browse Source

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>
tags/n3.2.2
Michael Niedermayer 9 years ago
parent
commit
2d51cb1d0a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/me_cmp.h

+ 1
- 1
libavcodec/me_cmp.h View File

@@ -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…
Cancel
Save