From 818a3bdedffedcc131a00f57d12597e5b7e054e6 Mon Sep 17 00:00:00 2001 From: Justin Ruggles Date: Wed, 9 Nov 2011 16:21:08 -0500 Subject: smackaud: use uint8_t* for 8-bit output buffer type This matches the output sample format and the range of the output values. --- libavcodec/smacker.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/smacker.c') diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c index 83ed8018a5..00ba4b8c5d 100644 --- a/libavcodec/smacker.c +++ b/libavcodec/smacker.c @@ -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; -- cgit v1.2.3