diff options
author | Ganesh Ajjanagadde <gajjanagadde@gmail.com> | 2015-10-09 18:44:49 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-09 19:01:08 -0400 |
commit | 99530387283fc58e6c3ac42724955b8569daf548 (patch) | |
tree | dcbfd5f1e5b42e8a66c0bbccb1a060617d53e714 /libavcodec | |
parent | 3be27e07d3c5239f6d53b86aebcd201f722df4d0 (diff) | |
download | ffmpeg-99530387283fc58e6c3ac42724955b8569daf548.tar.gz |
avcodec/xvmc: apply attribute_deprecated correctly
This fixes a warning observed on Clang 3.7:
"warning: attribute 'deprecated' is ignored, place it after "struct" to apply attribute to type declaration [-Wignored-attributes]"
and thus enables deprecation warning for the relevant struct.
Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/xvmc.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/xvmc.h b/libavcodec/xvmc.h index c2e187cc16..465ee78d6e 100644 --- a/libavcodec/xvmc.h +++ b/libavcodec/xvmc.h @@ -43,7 +43,7 @@ #define AV_XVMC_ID 0x1DC711C0 /**< special value to ensure that regular pixel routines haven't corrupted the struct the number is 1337 speak for the letters IDCT MCo (motion compensation) */ -attribute_deprecated struct xvmc_pix_fmt { +struct attribute_deprecated xvmc_pix_fmt { /** The field contains the special constant value AV_XVMC_ID. It is used as a test that the application correctly uses the API, and that there is no corruption caused by pixel routines. |