avcodec/4xm: fix block alignment
authorRamiro Polla <ramiro.polla@gmail.com>
Wed, 26 Dec 2018 16:54:30 +0000 (13:54 -0300)
committerJames Almer <jamrial@gmail.com>
Wed, 26 Dec 2018 16:56:20 +0000 (13:56 -0300)
blockdsp requires 32 byte alignment.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/4xm.c

index 5547dfd..7440dcc 100644 (file)
@@ -145,7 +145,7 @@ typedef struct FourXContext {
     int mv[256];
     VLC pre_vlc;
     int last_dc;
-    DECLARE_ALIGNED(16, int16_t, block)[6][64];
+    DECLARE_ALIGNED(32, int16_t, block)[6][64];
     void *bitstream_buffer;
     unsigned int bitstream_buffer_size;
     int version;