]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/mace.c
Silicon Graphics Movie (.mv) demuxer
[ffmpeg] / libavcodec / mace.c
index c76f4860631503a6aed34272d7c9b13f228b9510..d2a04114f438094f7a297ac620939d55503300a1 100644 (file)
@@ -25,6 +25,7 @@
  */
 
 #include "avcodec.h"
+#include "internal.h"
 #include "libavutil/common.h"
 
 /*
@@ -250,7 +251,7 @@ static int mace_decode_frame(AVCodecContext *avctx, void *data,
 
     /* get output buffer */
     ctx->frame.nb_samples = 3 * (buf_size << (1 - is_mace3)) / avctx->channels;
-    if ((ret = avctx->get_buffer(avctx, &ctx->frame)) < 0) {
+    if ((ret = ff_get_buffer(avctx, &ctx->frame)) < 0) {
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return ret;
     }