[FFmpeg-cvslog] fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter
softworkz
git at videolan.org
Fri May 16 00:11:22 EEST 2025
ffmpeg | branch: master | softworkz <softworkz at hotmail.com> | Mon Apr 28 00:03:59 2025 +0200| [4baeb9ffe9891a53fc52050ca2ce06d8f95b3a5a] | committer: softworkz
fftools/textformat: Remove unused print_rational() pointer from AVTextFormatter
Reviewed-by: Stefano Sabatini <stefasab at gmail.com>
Signed-off-by: softworkz <softworkz at hotmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4baeb9ffe9891a53fc52050ca2ce06d8f95b3a5a
---
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;
More information about the ffmpeg-cvslog
mailing list