[FFmpeg-cvslog] smackaud: use uint8_t* for 8-bit output buffer type

Justin Ruggles git at videolan.org
Thu Nov 10 03:59:00 CET 2011


ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Wed Nov  9 16:21:08 2011 -0500| [818a3bdedffedcc131a00f57d12597e5b7e054e6] | committer: Justin Ruggles

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

This matches the output sample format and the range of the output values.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=818a3bdedffedcc131a00f57d12597e5b7e054e6
---

 libavcodec/smacker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/libavcodec/smacker.c b/libavcodec/smacker.c
index 83ed801..00ba4b8 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;



More information about the ffmpeg-cvslog mailing list