From 04fe6be014ccf5aa8c0b055b02421baf5f6d68c4 Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Fri, 2 Aug 2024 16:45:08 +0200 Subject: [PATCH] vcf/logo: include needed headers do not use config*h --- src/capture_filter/logo.c | 19 ++++++++++++------- 1 file changed, 12 insertions(+), 7 deletions(-) diff --git a/src/capture_filter/logo.c b/src/capture_filter/logo.c index 1b34b69dce..052ae2514b 100644 --- a/src/capture_filter/logo.c +++ b/src/capture_filter/logo.c @@ -3,7 +3,7 @@ * @author Martin Pulec */ /* - * Copyright (c) 2013-2022 CESNET z.s.p.o. + * Copyright (c) 2013-2024 CESNET * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -35,20 +35,25 @@ * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#include "config_unix.h" -#include "config_win32.h" -#endif /* HAVE_CONFIG_H */ + +#include // for assert +#include // for false, bool, true +#include // for printf, fprintf, stderr +#include // for free, NULL, malloc, atoi, calloc +#include // for strlen, strtok_r, strdup #include "capture_filter.h" +#include "compat/strings.h" // for strcasecmp #include "debug.h" #include "lib_common.h" +#include "pixfmt_conv.h" // for get_decoder_from_to, decoder_t, vc_copyl... +#include "types.h" // for video_frame, tile, RGB #include "utils/macros.h" #include "utils/pam.h" -#include "video.h" #include "video_codec.h" +struct module; + #define MOD_NAME "[logo] " struct state_capture_filter_logo {