Commit 6ff3da4f authored by Diego Biurrun's avatar Diego Biurrun Committed by Mark Thompson

Place attribute_deprecated in the right position for struct declarations

libavcodec/vaapi.h:58:1: warning: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]

(cherry picked from commit ed6a891c)
Signed-off-by: 's avatarMark Thompson <sw@jkqxz.net>
parent e28bd75f
......@@ -53,8 +53,7 @@
*
* Deprecated: use AVCodecContext.hw_frames_ctx instead.
*/
attribute_deprecated
struct vaapi_context {
struct attribute_deprecated vaapi_context {
/**
* Window system dependent data
*
......
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