Browse Source

mpc7: align local temp buffer

DSPContext.bswap_buf() requires aligned output
tags/n0.11
Justin Ruggles 14 years ago
parent
commit
eac31dd163
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/mpc7.c

+ 1
- 1
libavcodec/mpc7.c View File

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


Loading…
Cancel
Save