avcodec/vaapi: fix pointer types after H264Picture changes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -36,9 +36,9 @@
|
||||
*/
|
||||
|
||||
/** Extract VASurfaceID from a Picture */
|
||||
static inline VASurfaceID ff_vaapi_get_surface_id(Picture *pic)
|
||||
static inline VASurfaceID ff_vaapi_get_surface_id(AVFrame *frm)
|
||||
{
|
||||
return (uintptr_t)pic->f.data[3];
|
||||
return (uintptr_t)frm->data[3];
|
||||
}
|
||||
|
||||
/** Common AVHWAccel.end_frame() implementation */
|
||||
|
Reference in New Issue
Block a user