summaryrefslogtreecommitdiff
path: root/libavcodec/vaapi_mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-03-17 12:45:36 +0100
committerMichael Niedermayer <michaelni@gmx.at>2014-03-17 12:45:36 +0100
commit377cfc28a226a66d6f872f0a16b3811208011ebc (patch)
tree908fb65441c6d399b9e6efe5bb7b436adf833042 /libavcodec/vaapi_mpeg.c
parent9517900bef528527d8507da5a1992f99513d71b4 (diff)
avcodec/vaapi: fix pointer types after H264Picture changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vaapi_mpeg.c')
-rw-r--r--libavcodec/vaapi_mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vaapi_mpeg.c b/libavcodec/vaapi_mpeg.c
index 5afa406001..0b9958d6f4 100644
--- a/libavcodec/vaapi_mpeg.c
+++ b/libavcodec/vaapi_mpeg.c
@@ -35,7 +35,7 @@ int ff_vaapi_mpeg_end_frame(AVCodecContext *avctx)
goto finish;
ret = ff_vaapi_render_picture(vactx,
- ff_vaapi_get_surface_id(s->current_picture_ptr));
+ ff_vaapi_get_surface_id(&s->current_picture_ptr->f));
if (ret < 0)
goto finish;