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

Michael Niedermayer git at videolan.org
Tue Nov 1 22:03:20 EET 2016


ffmpeg | branch: master | Michael Niedermayer <michael at niedermayer.cc> | Tue Nov  1 02:31:10 2016 +0100| [7ddfa0be6298d1713b809eadbc91820bca1a99be] | committer: Michael Niedermayer

avcodec/dnxhdenc: Fix alignment of edge_buf*

Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ddfa0be6298d1713b809eadbc91820bca1a99be
---

 libavcodec/dnxhdenc.h | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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];



More information about the ffmpeg-cvslog mailing list