Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwm4 <nfxjfg@googlemail.com>2014-03-20 11:53:18 +0400
committerAnton Khirnov <anton@khirnov.net>2014-03-20 20:01:59 +0400
commit8b6136d3d18f44b4913803f8400d5d99b1e5b873 (patch)
tree1873335d88aaaa6b67118e43fde1c18e891956e4 /libavcodec/vaapi.c
parent1b1094a19d9e41baf3253c83841f9e5343cecbd0 (diff)
vaapi: switch ff_vaapi_get_surface_id from Picture to AVFrame
Signed-off-by: Anton Khirnov <anton@khirnov.net>
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 0532daf983..6183d0b1f0 100644
--- a/libavcodec/vaapi.c
+++ b/libavcodec/vaapi.c
@@ -205,7 +205,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;