diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-30 14:29:05 -0500 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-01-30 19:11:29 -0500 |
commit | eac31dd163cd9168860aeed88112455cb44cc4f1 (patch) | |
tree | 4f4791d393996de86a35b7f588019eec80fa46b8 /libavcodec/mpc7.c | |
parent | e5c9de2ab78cf18636eac2fa8e059e58a71e512b (diff) | |
download | ffmpeg-eac31dd163cd9168860aeed88112455cb44cc4f1.tar.gz |
mpc7: align local temp buffer
DSPContext.bswap_buf() requires aligned output
Diffstat (limited to 'libavcodec/mpc7.c')
-rw-r--r-- | libavcodec/mpc7.c | 2 |
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]; |