On Tue, Jun 08, 2021 at 01:04:05AM +0200, Diederick Niehorster wrote: > Signed-off-by: Diederick Niehorster <[email protected]> > --- > libavdevice/internal.h | 31 +++++++++++++++++++++++++++ > libavdevice/utils.c | 48 ++++++++++++++++++++++++++++++++++++++++++ > libavdevice/version.h | 2 +- > 3 files changed, 80 insertions(+), 1 deletion(-)
brakes build
CC libavdevice/utils.o
libavdevice/utils.c:64:29: error: field ‘query_type’ has incomplete type
enum DshowCapQueryType query_type;
^~~~~~~~~~
libavdevice/utils.c: In function ‘ff_device_get_query_type’:
libavdevice/utils.c:86:20: error: incompatible types when returning type ‘const
AVDeviceCapabilitiesQueryTypeEntry * {aka const struct
AVDeviceCapabilitiesQueryTypeEntry *}’ but ‘enum AVDeviceCapabilitiesQueryType’
was expected
return query_table[i].query_type;
^~~~~~~~~~~
libavdevice/utils.c: In function ‘ff_device_get_query_component_name’:
libavdevice/utils.c:101:43: warning: comparison between pointer and integer
if (query_table[i].query_type == query_type)
^~
ffbuild/common.mak:67: recipe for target 'libavdevice/utils.o' failed
make: *** [libavdevice/utils.o] Error 1
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Dictatorship naturally arises out of democracy, and the most aggravated
form of tyranny and slavery out of the most extreme liberty. -- Plato
signature.asc
Description: PGP signature
_______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
