From 1ce8377c78bed79f14be0ec7af4a07e903e7378d Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 19 Jan 2012 08:51:56 +0100 Subject: [PATCH] wmalossless: Fix incompatoble pointer type warnings Signed-off-by: Michael Niedermayer --- libavcodec/wmalosslessdec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c index d190b2dfc9..3f23b66002 100644 --- a/libavcodec/wmalosslessdec.c +++ b/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;