Browse Source

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 ed6a891c36)
Signed-off-by: Mark Thompson <sw@jkqxz.net>
tags/n3.3
Diego Biurrun Mark Thompson 8 years ago
parent
commit
6ff3da4f6a
1 changed files with 1 additions and 2 deletions
  1. +1
    -2
      libavcodec/vaapi.h

+ 1
- 2
libavcodec/vaapi.h View File

@@ -53,8 +53,7 @@
* *
* Deprecated: use AVCodecContext.hw_frames_ctx instead. * Deprecated: use AVCodecContext.hw_frames_ctx instead.
*/ */
attribute_deprecated
struct vaapi_context {
struct attribute_deprecated vaapi_context {
/** /**
* Window system dependent data * Window system dependent data
* *


Loading…
Cancel
Save