aboutsummaryrefslogtreecommitdiff
path: root/libavcodec/vaapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/vaapi.c')
-rw-r--r--libavcodec/vaapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi.c b/libavcodec/vaapi.c
index 7912198e5d..10f9054278 100644
--- a/libavcodec/vaapi.c
+++ b/libavcodec/vaapi.c
@@ -129,7 +129,7 @@ static void *alloc_buffer(struct vaapi_context *vactx, int type, unsigned int si
return data;
}
-void *ff_vaapi_alloc_picture(struct vaapi_context *vactx, unsigned int size)
+void *ff_vaapi_alloc_pic_param(struct vaapi_context *vactx, unsigned int size)
{
return alloc_buffer(vactx, VAPictureParameterBufferType, size, &vactx->pic_param_buf_id);
}