aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/vaapi_mpeg4.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_mpeg4.c
parent6399c17d545e9666e3eece87b136d0107a900c5d (diff)
downloadffmpeg-36ad2b3ee014cac0f2d688dc9ef8cc92e07f73c8.tar.gz
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_mpeg4.c')
-rw-r--r--libavcodec/vaapi_mpeg4.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/vaapi_mpeg4.c b/libavcodec/vaapi_mpeg4.c
index c4a973a499..ab2bc35544 100644
--- a/libavcodec/vaapi_mpeg4.c
+++ b/libavcodec/vaapi_mpeg4.c
@@ -92,9 +92,9 @@ static int vaapi_mpeg4_start_frame(AVCodecContext *avctx, av_unused const uint8_
pic_param->TRD = s->pp_time;
if (s->pict_type == 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);
if (s->pict_type != FF_I_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);
/* Fill in VAIQMatrixBufferMPEG4 */
/* Only the first inverse quantisation method uses the weighthing matrices */