diff options
author | Yusuke Nakamura <muken.the.vfrmaniac@gmail.com> | 2013-03-08 16:51:55 +0900 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-03-08 11:09:31 +0200 |
commit | 19dd4017ab6dac11c77d797acebee4f60ad63a6f (patch) | |
tree | 14dbcadb605db41875ee955f0e9aa3f81ccb70f7 /libavcodec/libopencore-amr.c | |
parent | f86d66bcfa48998b0727aa0d1089a30cbeae0933 (diff) | |
download | ffmpeg-19dd4017ab6dac11c77d797acebee4f60ad63a6f.tar.gz |
libopencore-amr: Add the missing 3rd argument of ff_get_buffer()
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libopencore-amr.c')
-rw-r--r-- | libavcodec/libopencore-amr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c index 23efa6ca0b..71a0edbfdf 100644 --- a/libavcodec/libopencore-amr.c +++ b/libavcodec/libopencore-amr.c @@ -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; } |