Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2017-10-21 19:04:44 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2017-11-15 19:31:09 +0300
commit380b48fb9fdc7b0c40d67e026f9b3accb12794eb (patch)
treef5176810b5f6fe7b8e7999962f1b8af4050fb8c8 /libavcodec/h264dec.h
parentbff6d98ba3e70bb27249579df600e2c845264b2c (diff)
avcodec/h264dec: Fix potential array overread
add padding before scantable arrays See: 522d850e68ec4b77d3477b3c8f55b1ba00a9d69a Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/h264dec.h')
-rw-r--r--libavcodec/h264dec.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264dec.h b/libavcodec/h264dec.h
index b87b947f95..1d9723260d 100644
--- a/libavcodec/h264dec.h
+++ b/libavcodec/h264dec.h
@@ -417,6 +417,7 @@ typedef struct H264Context {
uint8_t (*mvd_table[2])[2];
uint8_t *direct_table;
+ uint8_t scan_padding[16];
uint8_t zigzag_scan[16];
uint8_t zigzag_scan8x8[64];
uint8_t zigzag_scan8x8_cavlc[64];