1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

smackaud: use uint8_t* for 8-bit output buffer type

This matches the output sample format and the range of the output values.
This commit is contained in:
Justin Ruggles 2011-11-09 16:21:08 -05:00
parent 375ca0aca8
commit 818a3bdedf

View File

@ -580,7 +580,7 @@ static int smka_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
HuffContext h[4];
VLC vlc[4];
int16_t *samples = data;
int8_t *samples8 = data;
uint8_t *samples8 = data;
int val;
int i, res;
int unp_size;