Commit 19dd4017 authored by Yusuke Nakamura's avatar Yusuke Nakamura Committed by Martin Storsjö

libopencore-amr: Add the missing 3rd argument of ff_get_buffer()

Signed-off-by: 's avatarMartin Storsjö <martin@martin.st>
parent f86d66bc
......@@ -344,7 +344,7 @@ static int amr_wb_decode_frame(AVCodecContext *avctx, void *data,
/* get output buffer */
frame->nb_samples = 320;
if ((ret = ff_get_buffer(avctx, frame)) < 0) {
if ((ret = ff_get_buffer(avctx, frame, 0)) < 0) {
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return ret;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment