Browse Source

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

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n2.0
Yusuke Nakamura Martin Storsjö 13 years ago
parent
commit
19dd4017ab
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/libopencore-amr.c

+ 1
- 1
libavcodec/libopencore-amr.c 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;
}


Loading…
Cancel
Save