wmalossless: Fix incompatoble pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
release/0.10
Michael Niedermayer 13 years ago
parent c130428ab5
commit 1ce8377c78
  1. 4
      libavcodec/wmalosslessdec.c

@ -1424,8 +1424,8 @@ static int decode_packet(AVCodecContext *avctx,
s->samples_16 = (int16_t *) data;
s->samples_16_end = (int16_t *) ((int8_t*)data + *data_size);
} else {
s->samples_32 = (int *) data;
s->samples_32_end = (int *) ((int8_t*)data + *data_size);
s->samples_32 = (void *) data;
s->samples_32_end = (void *) ((int8_t*)data + *data_size);
}
*data_size = 0;

Loading…
Cancel
Save