summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavcodec/g723_1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/g723_1.c b/libavcodec/g723_1.c
index 9a1e294722..ec70e06f3e 100644
--- a/libavcodec/g723_1.c
+++ b/libavcodec/g723_1.c
@@ -985,7 +985,7 @@ static int g723_1_decode_frame(AVCodecContext *avctx, void *data,
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return ret;
}
- out= p->frame.data[0];
+ out= (int16_t*)p->frame.data[0];
if(p->cur_frame_type == ActiveFrame) {