summaryrefslogtreecommitdiff
path: root/libavcodec/libvorbisdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/libvorbisdec.c')
-rw-r--r--libavcodec/libvorbisdec.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/libvorbisdec.c b/libavcodec/libvorbisdec.c
index 93c65b88b7..8f5f9d85f9 100644
--- a/libavcodec/libvorbisdec.c
+++ b/libavcodec/libvorbisdec.c
@@ -22,6 +22,7 @@
#include "avcodec.h"
#include "bytestream.h"
+#include "internal.h"
typedef struct OggVorbisDecContext {
AVFrame frame;
@@ -141,7 +142,7 @@ static int oggvorbis_decode_frame(AVCodecContext *avccontext, void *data,
}
context->frame.nb_samples = 8192*4;
- if ((ret = avccontext->get_buffer(avccontext, &context->frame)) < 0) {
+ if ((ret = ff_get_buffer(avccontext, &context->frame)) < 0) {
av_log(avccontext, AV_LOG_ERROR, "get_buffer() failed\n");
return ret;
}