From 36ad2b3ee014cac0f2d688dc9ef8cc92e07f73c8 Mon Sep 17 00:00:00 2001 From: Gwenole Beauchesne Date: Mon, 28 Dec 2009 09:02:16 +0000 Subject: Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id(). Originally committed as revision 20941 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/vaapi_mpeg2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libavcodec/vaapi_mpeg2.c') diff --git a/libavcodec/vaapi_mpeg2.c b/libavcodec/vaapi_mpeg2.c index fbc99ae970..b6bd6fdb13 100644 --- a/libavcodec/vaapi_mpeg2.c +++ b/libavcodec/vaapi_mpeg2.c @@ -73,10 +73,10 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const uint8_ switch (s->pict_type) { case FF_B_TYPE: - pic_param->backward_reference_picture = ff_vaapi_get_surface(&s->next_picture); + pic_param->backward_reference_picture = ff_vaapi_get_surface_id(&s->next_picture); // fall-through case FF_P_TYPE: - pic_param->forward_reference_picture = ff_vaapi_get_surface(&s->last_picture); + pic_param->forward_reference_picture = ff_vaapi_get_surface_id(&s->last_picture); break; } -- cgit v1.2.3