Browse Source

truespeech: align buffer

DSPContext.bswap_buf() requires aligned output

Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
tags/n0.11
Paul B Mahol Ronald S. Bultje 14 years ago
parent
commit
d4eeadcbbf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/truespeech.c

+ 1
- 1
libavcodec/truespeech.c View File

@@ -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


Loading…
Cancel
Save