[FFmpeg-cvslog] avcodec/dnxhddec: fix block alignment

Ramiro Polla git at videolan.org
Wed Dec 26 18:59:20 EET 2018


ffmpeg | branch: master | Ramiro Polla <ramiro.polla at gmail.com> | Wed Dec 26 13:56:27 2018 -0300| [c268712895f6fd557e5affa6566983815046b9a8] | committer: James Almer

avcodec/dnxhddec: fix block alignment

blockdsp requires 32 byte alignment.

Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/dnxhddec.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/dnxhddec.c b/libavcodec/dnxhddec.c
index abda5c656d..1e95086696 100644
--- a/libavcodec/dnxhddec.c
+++ b/libavcodec/dnxhddec.c
@@ -37,7 +37,7 @@
 #include "thread.h"
 
 typedef struct RowContext {
-    DECLARE_ALIGNED(16, int16_t, blocks)[12][64];
+    DECLARE_ALIGNED(32, int16_t, blocks)[12][64];
     int luma_scale[64];
     int chroma_scale[64];
     GetBitContext gb;



More information about the ffmpeg-cvslog mailing list