X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Finterplayvideo.c;h=82bcf85065bf9da226acdadb2ec8ec11640224ef;hb=874c5b02c4117d5261365d0de727c0b4dc9363f6;hp=6892936c3d40c9dca87efbf6432829f50ed60a85;hpb=db9f426caba574719c58de12e68742063c8e7979;p=ffmpeg diff --git a/libavcodec/interplayvideo.c b/libavcodec/interplayvideo.c index 6892936c3d4..82bcf85065b 100644 --- a/libavcodec/interplayvideo.c +++ b/libavcodec/interplayvideo.c @@ -43,6 +43,7 @@ #include "dsputil.h" #define BITSTREAM_READER_LE #include "get_bits.h" +#include "internal.h" #define PALETTE_COUNT 256 @@ -976,7 +977,7 @@ static int ipvideo_decode_frame(AVCodecContext *avctx, buf_size - s->decoding_map_size); s->current_frame.reference = 3; - if (avctx->get_buffer(avctx, &s->current_frame)) { + if (ff_get_buffer(avctx, &s->current_frame)) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return -1; }