diff options
author | wm4 <nfxjfg@googlemail.com> | 2014-03-20 08:53:18 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2014-03-20 17:01:59 +0100 |
commit | 8b6136d3d18f44b4913803f8400d5d99b1e5b873 (patch) | |
tree | 1873335d88aaaa6b67118e43fde1c18e891956e4 /libavcodec/vaapi.c | |
parent | 1b1094a19d9e41baf3253c83841f9e5343cecbd0 (diff) | |
download | ffmpeg-8b6136d3d18f44b4913803f8400d5d99b1e5b873.tar.gz |
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.c | 2 |
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; |