---
libavcodec/tta.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/tta.c b/libavcodec/tta.c
index 093f1bb..11186b8 100644
--- a/libavcodec/tta.c
+++ b/libavcodec/tta.c
@@ -385,7 +385,7 @@ static int tta_decode_frame(AVCodecContext *avctx,
// convert to output buffer
switch(s->bps) {
case 2: {
- uint16_t *samples = data;
+ int16_t *samples = data;
for (p = s->decode_buffer; p < s->decode_buffer + (framelen *
s->channels); p++) {
*samples++ = *p;
}
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel