X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Flibopusdec.c;h=15fa4934982674e9a7114816d8726e1b9309e997;hb=594d4d5df3c70404168701dd5c90b7e6e5587793;hp=1b5b7464961d3cf1300bd1bad106500096fcda8c;hpb=cb45553f577f8e0ebfe05d3287e1b6fa5859b967;p=ffmpeg diff --git a/libavcodec/libopusdec.c b/libavcodec/libopusdec.c index 1b5b7464961..15fa4934982 100644 --- a/libavcodec/libopusdec.c +++ b/libavcodec/libopusdec.c @@ -25,6 +25,7 @@ #include "libavutil/avassert.h" #include "libavutil/intreadwrite.h" #include "avcodec.h" +#include "internal.h" #include "vorbis.h" #include "mathops.h" #include "libopus.h" @@ -116,7 +117,7 @@ static int libopus_decode(AVCodecContext *avc, void *frame, int ret, nb_samples; opus->frame.nb_samples = MAX_FRAME_SIZE; - ret = avc->get_buffer(avc, &opus->frame); + ret = ff_get_buffer(avc, &opus->frame); if (ret < 0) { av_log(avc, AV_LOG_ERROR, "get_buffer() failed\n"); return ret;