1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-24 13:56:33 +02:00

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

Signed-off-by: Martin Storsjö <martin@martin.st>
This commit is contained in:
Yusuke Nakamura 2013-03-08 16:51:55 +09:00 committed by Martin Storsjö
parent f86d66bcfa
commit 19dd4017ab

View File

@ -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;
}