From c4e1a52e6170f1d88bfef26fb4cfdaff470c961a Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Mon, 2 Jun 2025 03:48:50 +0200 Subject: [PATCH WIP 10/10] fftools/resources/resman: Improve headers Don't rely on implicit inclusions of lavu/thread.h and lavu/mem.h. Signed-off-by: Andreas Rheinhardt --- fftools/resources/resman.c | 5 ++++- fftools/resources/resman.h | 8 -------- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/fftools/resources/resman.c b/fftools/resources/resman.c index 4497d65f3d..9b8f6e406a 100644 --- a/fftools/resources/resman.c +++ b/fftools/resources/resman.c @@ -25,10 +25,13 @@ #include "config.h" -#include +#include #if CONFIG_RESOURCE_COMPRESSION #include +#include "libavutil/intreadwrite.h" +#include "libavutil/mem.h" +#include "libavutil/thread.h" #endif #include "resman.h" diff --git a/fftools/resources/resman.h b/fftools/resources/resman.h index ee22e960d3..20e6b1037c 100644 --- a/fftools/resources/resman.h +++ b/fftools/resources/resman.h @@ -21,14 +21,6 @@ #ifndef FFTOOLS_RESOURCES_RESMAN_H #define FFTOOLS_RESOURCES_RESMAN_H -#include - -#include "config.h" -#include "fftools/ffmpeg.h" -#include "libavutil/avutil.h" -#include "libavutil/bprint.h" -#include "fftools/textformat/avtextformat.h" - typedef enum { FF_RESOURCE_GRAPH_CSS, FF_RESOURCE_GRAPH_HTML, -- 2.45.2