aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-11-09 16:21:08 -0500
committerJustin Ruggles <justin.ruggles@gmail.com>2011-11-09 16:21:08 -0500
commit818a3bdedffedcc131a00f57d12597e5b7e054e6 (patch)
tree553f9bc2ac3df3e9abbef0530bd16f4e2b2c4385 /libavcodec
parent375ca0aca81be2951d9ba4731196e70e490d3cdf (diff)
downloadffmpeg-818a3bdedffedcc131a00f57d12597e5b7e054e6.tar.gz
smackaud: use uint8_t* for 8-bit output buffer type
This matches the output sample format and the range of the output values.
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/smacker.c2
1 files changed, 1 insertions, 1 deletions
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;