summaryrefslogtreecommitdiff
path: root/libavcodec/escape130.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/escape130.c')
-rw-r--r--libavcodec/escape130.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/escape130.c b/libavcodec/escape130.c
index 97547bb102..b56bb4463d 100644
--- a/libavcodec/escape130.c
+++ b/libavcodec/escape130.c
@@ -23,6 +23,8 @@
#define BITSTREAM_READER_LE
#include "get_bits.h"
+#include "internal.h"
+
typedef struct Escape130Context {
AVFrame frame;
@@ -129,7 +131,7 @@ static int escape130_decode_frame(AVCodecContext *avctx,
skip_bits_long(&gb, 128);
new_frame.reference = 3;
- if (avctx->get_buffer(avctx, &new_frame)) {
+ if (ff_get_buffer(avctx, &new_frame)) {
av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n");
return -1;
}