summaryrefslogtreecommitdiff
path: root/libavcodec/avuidec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/avuidec.c')
-rw-r--r--libavcodec/avuidec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/avuidec.c b/libavcodec/avuidec.c
index 52d8090109..7aa30ff8ff 100644
--- a/libavcodec/avuidec.c
+++ b/libavcodec/avuidec.c
@@ -21,6 +21,7 @@
*/
#include "avcodec.h"
+#include "internal.h"
#include "libavutil/intreadwrite.h"
static av_cold int avui_decode_init(AVCodecContext *avctx)
@@ -79,7 +80,7 @@ static int avui_decode_frame(AVCodecContext *avctx, void *data,
pic->reference = 0;
- if (avctx->get_buffer(avctx, pic) < 0) {
+ if (ff_get_buffer(avctx, pic) < 0) {
av_log(avctx, AV_LOG_ERROR, "Could not allocate buffer.\n");
return AVERROR(ENOMEM);
}