summaryrefslogtreecommitdiff
path: root/libavcodec/v210x.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/v210x.c')
-rw-r--r--libavcodec/v210x.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/v210x.c b/libavcodec/v210x.c
index 376588c736..900281a0c4 100644
--- a/libavcodec/v210x.c
+++ b/libavcodec/v210x.c
@@ -19,6 +19,7 @@
*/
#include "avcodec.h"
+#include "internal.h"
#include "libavutil/bswap.h"
#include "libavutil/internal.h"
#include "libavutil/mem.h"
@@ -60,7 +61,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPac
}
pic->reference= 0;
- if(avctx->get_buffer(avctx, pic) < 0)
+ if(ff_get_buffer(avctx, pic) < 0)
return -1;
ydst= (uint16_t *)pic->data[0];