mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-11 09:35:22 +00:00
wmalossless: Fix incompatoble pointer type warnings
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
c130428ab5
commit
1ce8377c78
@ -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…
Reference in New Issue
Block a user