[FFmpeg-cvslog] libopencore-amr: Add the missing 3rd argument of ff_get_buffer()

Yusuke Nakamura git at videolan.org
Tue Mar 12 16:35:50 CET 2013


ffmpeg | branch: master | Yusuke Nakamura <muken.the.vfrmaniac at gmail.com> | Fri Mar  8 16:51:55 2013 +0900| [19dd4017ab6dac11c77d797acebee4f60ad63a6f] | committer: Martin Storsjö

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

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=19dd4017ab6dac11c77d797acebee4f60ad63a6f
---

 libavcodec/libopencore-amr.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/libopencore-amr.c b/libavcodec/libopencore-amr.c
index 23efa6c..71a0edb 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;
     }



More information about the ffmpeg-cvslog mailing list