[FFmpeg-cvslog] Place attribute_deprecated in the right position for struct declarations
Diego Biurrun
git at videolan.org
Wed Mar 22 23:17:34 EET 2017
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Wed Feb 22 11:39:21 2017 +0100| [6ff3da4f6a8e460d77bb65fed4267bf48f513fcf] | committer: 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 ed6a891c364f8b0850b557d9578b8920cc15a937)
Signed-off-by: Mark Thompson <sw at jkqxz.net>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=6ff3da4f6a8e460d77bb65fed4267bf48f513fcf
---
libavcodec/vaapi.h | 3 +--
1 file changed, 1 insertion(+), 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
*
More information about the ffmpeg-cvslog
mailing list