This matches the output sample format and the range of the output values.
---
libavcodec/smacker_audio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/smacker_audio.c b/libavcodec/smacker_audio.c
index 40ce30e..47bc794 100644
--- a/libavcodec/smacker_audio.c
+++ b/libavcodec/smacker_audio.c
@@ -55,7 +55,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;
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel