diff mbox

[FFmpeg-devel] avcodec/dnxhdenc: Fix alignment of edge_buf*

Message ID 20161101013110.30078-1-michael@niedermayer.cc
State Accepted
Commit 7ddfa0be6298d1713b809eadbc91820bca1a99be
Headers show

Commit Message

Michael Niedermayer Nov. 1, 2016, 1:31 a.m. UTC
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
---
 libavcodec/dnxhdenc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Michael Niedermayer Nov. 1, 2016, 8:01 p.m. UTC | #1
On Tue, Nov 01, 2016 at 02:31:10AM +0100, Michael Niedermayer wrote:
> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
> ---
>  libavcodec/dnxhdenc.h | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

applied

[...]
diff mbox

Patch

diff --git a/libavcodec/dnxhdenc.h b/libavcodec/dnxhdenc.h
index 91ef6d0..eb9da12 100644
--- a/libavcodec/dnxhdenc.h
+++ b/libavcodec/dnxhdenc.h
@@ -71,8 +71,8 @@  typedef struct DNXHDEncContext {
     int intra_quant_bias;
 
     DECLARE_ALIGNED(16, int16_t, blocks)[8][64];
-    uint8_t edge_buf_y[256];
-    uint8_t edge_buf_uv[2][128];
+    DECLARE_ALIGNED(16, uint8_t, edge_buf_y)[256];
+    DECLARE_ALIGNED(16, uint8_t, edge_buf_uv)[2][128];
 
     int      (*qmatrix_c)     [64];
     int      (*qmatrix_l)     [64];