summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_vc1.c
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-12-28 09:02:16 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-12-28 09:02:16 +0000
commit36ad2b3ee014cac0f2d688dc9ef8cc92e07f73c8 (patch)
treefc259577152ce7219f5dd94fbbbbd7c6fa776f91 /libavcodec/vaapi_vc1.c
parent6399c17d545e9666e3eece87b136d0107a900c5d (diff)
Rename ff_vaapi_get_surface() to ff_vaapi_get_surface_id().
Originally committed as revision 20941 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vaapi_vc1.c')
-rw-r--r--libavcodec/vaapi_vc1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_vc1.c b/libavcodec/vaapi_vc1.c
index eae3c160fc..137526972a 100644
--- a/libavcodec/vaapi_vc1.c
+++ b/libavcodec/vaapi_vc1.c
@@ -242,10 +242,10 @@ static int vaapi_vc1_start_frame(AVCodecContext *avctx, av_unused const uint8_t
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;
}