From 4baeb9ffe9891a53fc52050ca2ce06d8f95b3a5a Mon Sep 17 00:00:00 2001 From: softworkz Date: Mon, 28 Apr 2025 00:03:59 +0200 Subject: [PATCH] fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter Reviewed-by: Stefano Sabatini Signed-off-by: softworkz --- fftools/textformat/avtextformat.h | 1 - fftools/textformat/avtextwriters.h | 5 ----- 2 files changed, 6 deletions(-) diff --git a/fftools/textformat/avtextformat.h b/fftools/textformat/avtextformat.h index 86feb9d09d..c61dca159f 100644 --- a/fftools/textformat/avtextformat.h +++ b/fftools/textformat/avtextformat.h @@ -75,7 +75,6 @@ typedef struct AVTextFormatter { void (*print_section_header)(AVTextFormatContext *tctx, const void *data); void (*print_section_footer)(AVTextFormatContext *tctx); void (*print_integer) (AVTextFormatContext *tctx, const char *, int64_t); - void (*print_rational) (AVTextFormatContext *tctx, AVRational *q, char *sep); void (*print_string) (AVTextFormatContext *tctx, const char *, const char *); int flags; ///< a combination or AV_TEXTFORMAT__FLAG_* } AVTextFormatter; diff --git a/fftools/textformat/avtextwriters.h b/fftools/textformat/avtextwriters.h index 34db3f1832..fd5cda04ef 100644 --- a/fftools/textformat/avtextwriters.h +++ b/fftools/textformat/avtextwriters.h @@ -21,14 +21,9 @@ #ifndef FFTOOLS_TEXTFORMAT_AVTEXTWRITERS_H #define FFTOOLS_TEXTFORMAT_AVTEXTWRITERS_H -#include #include -#include "libavutil/attributes.h" -#include "libavutil/dict.h" #include "libavformat/avio.h" #include "libavutil/bprint.h" -#include "libavutil/rational.h" -#include "libavutil/hash.h" typedef struct AVTextWriterContext AVTextWriterContext;