diff options
author | Frédéric Devernay <frederic.devernay@m4x.org> | 2017-09-12 15:26:15 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-09-26 10:00:51 +0200 |
commit | eec67f25224a48047da57be18b610b11b0fd0bfe (patch) | |
tree | 55c58bdd5ff66bfc409c7dbea7e0f9a037ef089e /libavcodec/dnxhdenc.h | |
parent | 89a2472ec536cd4e22804d0c377d54c24b98f5f2 (diff) | |
download | ffmpeg-eec67f25224a48047da57be18b610b11b0fd0bfe.tar.gz |
avcodec/dnxhdenc: fix DNxHR 444 encoding crashes
Fixes #6649.
Diffstat (limited to 'libavcodec/dnxhdenc.h')
-rw-r--r-- | libavcodec/dnxhdenc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h index 9b43f6e9c6..26c3eec695 100644 --- a/libavcodec/dnxhdenc.h +++ b/libavcodec/dnxhdenc.h @@ -75,8 +75,8 @@ typedef struct DNXHDEncContext { int intra_quant_bias; DECLARE_ALIGNED(16, int16_t, blocks)[12][64]; - DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[256]; - DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][256]; + DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[512]; // has to hold 16x16 uint16 when depth=10 + DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][512]; // has to hold 16x16 uint16_t when depth=10 int (*qmatrix_c) [64]; int (*qmatrix_l) [64]; |