]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/adxdec.c
Silicon Graphics Movie (.mv) demuxer
[ffmpeg] / libavcodec / adxdec.c
index 901d717cdfdcb1cb79759ff44e15349c598f55e7..0130628af7a45632822e86d2d785a2ed5a5b2197 100644 (file)
@@ -23,6 +23,7 @@
 #include "avcodec.h"
 #include "adx.h"
 #include "get_bits.h"
+#include "internal.h"
 
 /**
  * @file
@@ -143,7 +144,7 @@ static int adx_decode_frame(AVCodecContext *avctx, void *data,
 
     /* get output buffer */
     c->frame.nb_samples = num_blocks * BLOCK_SAMPLES;
-    if ((ret = avctx->get_buffer(avctx, &c->frame)) < 0) {
+    if ((ret = ff_get_buffer(avctx, &c->frame)) < 0) {
         av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
         return ret;
     }