wmalossless: Fix incompatoble pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-19 08:51:56 +01:00
parent c130428ab5
commit 1ce8377c78

View File

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