[FFmpeg-cvslog] mpc7: align local temp buffer
Justin Ruggles
git at videolan.org
Wed Feb 1 03:06:30 CET 2012
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Mon Jan 30 14:29:05 2012 -0500| [eac31dd163cd9168860aeed88112455cb44cc4f1] | committer: Justin Ruggles
mpc7: align local temp buffer
DSPContext.bswap_buf() requires aligned output
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=eac31dd163cd9168860aeed88112455cb44cc4f1
---
libavcodec/mpc7.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mpc7.c b/libavcodec/mpc7.c
index 290ecfb..8bc0853 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];
More information about the ffmpeg-cvslog
mailing list