Skip to content

Instantly share code, notes, and snippets.

@ramiropolla
Created December 26, 2018 16:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ramiropolla/86497b62a66e8dc4cbe179db6a7d62b8 to your computer and use it in GitHub Desktop.
Save ramiropolla/86497b62a66e8dc4cbe179db6a7d62b8 to your computer and use it in GitHub Desktop.
diff --git a/libavcodec/4xm.c b/libavcodec/4xm.c
index 5547dfd87f..7440dccf1f 100644
--- a/libavcodec/4xm.c
+++ b/libavcodec/4xm.c
@@ -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;
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;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment