aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil/film_grain_params.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-28 20:33:58 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-31 00:08:43 +0100
commit888e2c0a85d945cd7cddbc9c7434b9f260ac0fa0 (patch)
tree02e3a231aa2f6cd7510e48d7b87c1976b913e4a6 /libavutil/film_grain_params.c
parent0f78b26e9caaf0a6419da9f03d024dbad661d867 (diff)
downloadffmpeg-888e2c0a85d945cd7cddbc9c7434b9f260ac0fa0.tar.gz
avutil/hwcontext_vulkan: Include hwcontext.h
struct Foo * declares a new type (namely struct Foo) if there is no declaration of struct Foo already visible in the current scope; otherwise it is just a pointer to an element of the already declared type "struct Foo". There is a gotcha with the first case: struct Foo is only declared in its scope; a later declaration of struct Foo in an enclosing scope declares a different type. This happens in hwcontext_vulkan.h if it is included before hwcontext.h, because some declarations of struct AVHWDeviceContext and struct AVHWFramesContext have function prototype scope. Compilers warn about this (during checkheaders): ‘struct AVHWDeviceContext’ declared inside parameter list will not be visible outside of this definition or declaration Fix this by including hwcontext.h. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil/film_grain_params.c')
0 files changed, 0 insertions, 0 deletions