Commit 375cf55f authored by Mark Thompson's avatar Mark Thompson

vaapi: Disable deprecation warnings around use of old struct vaapi_context

parent b4ecf2b5
......@@ -59,9 +59,11 @@ typedef struct VAAPIDecodeContext {
VAContextID va_context;
#if FF_API_STRUCT_VAAPI_CONTEXT
FF_DISABLE_DEPRECATION_WARNINGS
int have_old_context;
struct vaapi_context *old_context;
AVBufferRef *device_ref;
FF_ENABLE_DEPRECATION_WARNINGS
#endif
AVHWDeviceContext *device;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment