aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-01-30 14:29:05 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2012-01-30 19:11:29 -0500
commiteac31dd163cd9168860aeed88112455cb44cc4f1 (patch)
tree4f4791d393996de86a35b7f588019eec80fa46b8
parente5c9de2ab78cf18636eac2fa8e059e58a71e512b (diff)
downloadffmpeg-eac31dd163cd9168860aeed88112455cb44cc4f1.tar.gz
mpc7: align local temp buffer
DSPContext.bswap_buf() requires aligned output
-rw-r--r--libavcodec/mpc7.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index 290ecfb385..8bc085392b 100644
--- a/libavcodec/mpc7.c
+++ b/libavcodec/mpc7.c
@@ -53,7 +53,7 @@ static av_cold int mpc7_decode_init(AVCodecContext * avctx)
int i, j;
MPCContext *c = avctx->priv_data;
GetBitContext gb;
- uint8_t buf[16];
+ LOCAL_ALIGNED_16(uint8_t, buf, [16]);
static int vlc_initialized = 0;
static VLC_TYPE scfi_table[1 << MPC7_SCFI_BITS][2];