You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
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>
This commit is contained in:
committed by
Mark Thompson
parent
e28bd75f7c
commit
6ff3da4f6a
@@ -53,8 +53,7 @@
|
|||||||
*
|
*
|
||||||
* Deprecated: use AVCodecContext.hw_frames_ctx instead.
|
* Deprecated: use AVCodecContext.hw_frames_ctx instead.
|
||||||
*/
|
*/
|
||||||
attribute_deprecated
|
struct attribute_deprecated vaapi_context {
|
||||||
struct vaapi_context {
|
|
||||||
/**
|
/**
|
||||||
* Window system dependent data
|
* Window system dependent data
|
||||||
*
|
*
|
||||||
|
Reference in New Issue
Block a user