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

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/tmv.c')
-rw-r--r--libavcodec/tmv.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/tmv.c b/libavcodec/tmv.c
index a0b3f36d92..63ec830f6d 100644
--- a/libavcodec/tmv.c
+++ b/libavcodec/tmv.c
@@ -29,6 +29,7 @@
#include <string.h>
#include "avcodec.h"
+#include "internal.h"
#include "libavutil/internal.h"
#include "libavutil/xga_font_data.h"
@@ -51,7 +52,7 @@ static int tmv_decode_frame(AVCodecContext *avctx, void *data,
if (tmv->pic.data[0])
avctx->release_buffer(avctx, &tmv->pic);
- if (avctx->get_buffer(avctx, &tmv->pic) < 0) {
+ if (ff_get_buffer(avctx, &tmv->pic) < 0) {
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return -1;
}