diff options
author | Paul B Mahol <onemda@gmail.com> | 2012-02-01 05:30:18 +0000 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2012-01-31 21:42:33 -0800 |
commit | d4eeadcbbfff880b6d6fb78ed06fe0c58470ce27 (patch) | |
tree | e253d3206829cf272ddb492b0feda74bb98c833d | |
parent | 034b03e7a0e8e4f8f66c82b736f2c0aa7c063ec0 (diff) | |
download | ffmpeg-streaming-d4eeadcbbfff880b6d6fb78ed06fe0c58470ce27.zip ffmpeg-streaming-d4eeadcbbfff880b6d6fb78ed06fe0c58470ce27.tar.gz |
truespeech: align buffer
DSPContext.bswap_buf() requires aligned output
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
-rw-r--r-- | libavcodec/truespeech.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/truespeech.c b/libavcodec/truespeech.c index 5ef0a01..66ca461 100644 --- a/libavcodec/truespeech.c +++ b/libavcodec/truespeech.c @@ -37,7 +37,7 @@ typedef struct { AVFrame frame; DSPContext dsp; /* input data */ - uint8_t buffer[32]; + DECLARE_ALIGNED(16, uint8_t, buffer)[32]; int16_t vector[8]; ///< input vector: 5/5/4/4/4/3/3/3 int offset1[2]; ///< 8-bit value, used in one copying offset int offset2[4]; ///< 7-bit value, encodes offsets for copying and for two-point filter |