]> git.sesse.net Git - ffmpeg/commitdiff
libopencore-amr: Add the missing 3rd argument of ff_get_buffer()
authorYusuke Nakamura <muken.the.vfrmaniac@gmail.com>
Fri, 8 Mar 2013 07:51:55 +0000 (16:51 +0900)
committerMartin Storsjö <martin@martin.st>
Fri, 8 Mar 2013 09:09:31 +0000 (11:09 +0200)
Signed-off-by: Martin Storsjö <martin@martin.st>
libavcodec/libopencore-amr.c

index 23efa6ca0b7e95beea4c72592ee0a52f3669b302..71a0edbfdf862b02ed06de0259f7bc31e877be8f 100644 (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;
     }