diff options
author | Diego Biurrun <diego@biurrun.de> | 2017-02-22 11:39:21 +0100 |
---|---|---|
committer | Mark Thompson <sw@jkqxz.net> | 2017-03-22 19:07:32 +0000 |
commit | 6ff3da4f6a8e460d77bb65fed4267bf48f513fcf (patch) | |
tree | d02268aa81a2831273c4f62fb04dbe3e05c9651f /libavcodec/vaapi.h | |
parent | e28bd75f7cfd17169562d7c7f5a4a5386aba68e1 (diff) | |
download | ffmpeg-6ff3da4f6a8e460d77bb65fed4267bf48f513fcf.tar.gz |
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 ed6a891c364f8b0850b557d9578b8920cc15a937)
Signed-off-by: Mark Thompson <sw@jkqxz.net>
Diffstat (limited to 'libavcodec/vaapi.h')
-rw-r--r-- | libavcodec/vaapi.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vaapi.h b/libavcodec/vaapi.h index e68912d93b..bb28455329 100644 --- a/libavcodec/vaapi.h +++ b/libavcodec/vaapi.h @@ -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 * |