aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsoftworkz <softworkz@hotmail.com>2025-04-28 00:03:59 +0200
committersoftworkz <softworkz@hotmail.com>2025-05-15 23:04:44 +0200
commit4baeb9ffe9891a53fc52050ca2ce06d8f95b3a5a (patch)
tree3c019f7074ca632092619fa98dcaa50ae6a01637
parent5f90eea8a8d97bf07f6ee101f8a786ef3e3a1d43 (diff)
downloadffmpeg-4baeb9ffe9891a53fc52050ca2ce06d8f95b3a5a.tar.gz
fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter
Reviewed-by: Stefano Sabatini <stefasab@gmail.com> Signed-off-by: softworkz <softworkz@hotmail.com>
-rw-r--r--fftools/textformat/avtextformat.h1
-rw-r--r--fftools/textformat/avtextwriters.h5
2 files changed, 0 insertions, 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 <stddef.h>
#include <stdint.h>
-#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;