avcodec/vaapi: fix pointer types after H264Picture changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user