summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2017-02-22 11:39:21 +0100
committerMark Thompson <sw@jkqxz.net>2017-03-22 19:07:32 +0000
commit6ff3da4f6a8e460d77bb65fed4267bf48f513fcf (patch)
treed02268aa81a2831273c4f62fb04dbe3e05c9651f
parente28bd75f7cfd17169562d7c7f5a4a5386aba68e1 (diff)
downloadffmpeg-streaming-6ff3da4f6a8e460d77bb65fed4267bf48f513fcf.zip
ffmpeg-streaming-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>
-rw-r--r--libavcodec/vaapi.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/vaapi.h b/libavcodec/vaapi.h
index e68912d..bb28455 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
*
OpenPOWER on IntegriCloud