[FFmpeg-devel] [PATCH v12 03/15] fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter
softworkz
ffmpegagent at gmail.com
Thu May 8 04:36:44 EEST 2025
From: softworkz <softworkz at hotmail.com>
Reviewed-by: Stefano Sabatini <stefasab at gmail.com>
Signed-off-by: softworkz <softworkz at hotmail.com>
---
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 <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;
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list