Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vima.c')
-rw-r--r--libavcodec/vima.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/vima.c b/libavcodec/vima.c
index 35e2a3cdd5..f823cb37e7 100644
--- a/libavcodec/vima.c
+++ b/libavcodec/vima.c
@@ -22,6 +22,7 @@
#include "libavutil/channel_layout.h"
#include "avcodec.h"
#include "get_bits.h"
+#include "internal.h"
#include "adpcm_data.h"
typedef struct {
@@ -170,7 +171,7 @@ static int decode_frame(AVCodecContext *avctx, void *data,
}
vima->frame.nb_samples = samples;
- if ((ret = avctx->get_buffer(avctx, &vima->frame)) < 0) {
+ if ((ret = ff_get_buffer(avctx, &vima->frame)) < 0) {
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return ret;
}