tta: let samples declaration match cast

Signed-off-by: Paul B Mahol <onemda@gmail.com>
pull/6/head
Paul B Mahol 13 years ago
parent f51c4bfe3f
commit 01c9ffa913
  1. 2
      libavcodec/tta.c

@ -427,7 +427,7 @@ static int tta_decode_frame(AVCodecContext *avctx, void *data,
break;
}
case 2: {
uint16_t *samples = (int16_t *)s->frame.data[0];
int16_t *samples = (int16_t *)s->frame.data[0];
for (p = s->decode_buffer; p < s->decode_buffer + (framelen * s->channels); p++)
*samples++ = *p;
break;

Loading…
Cancel
Save