[FFmpeg-devel] [PATCH 5/8] ffprobe/avtextformat: Move flags
softworkz
ffmpegagent at gmail.com
Thu Feb 27 16:01:37 EET 2025
From: softworkz <softworkz at hotmail.com>
Signed-off-by: softworkz <softworkz at hotmail.com>
---
libavutil/avtextformat.h | 4 ----
libavutil/textformat/avtextformat.c | 4 ++++
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavutil/avtextformat.h b/libavutil/avtextformat.h
index e40aca1de7..68db9445c9 100644
--- a/libavutil/avtextformat.h
+++ b/libavutil/avtextformat.h
@@ -123,10 +123,6 @@ struct AVTextFormatContext {
unsigned int string_validation_utf8_flags;
};
-#define SHOW_OPTIONAL_FIELDS_AUTO -1
-#define SHOW_OPTIONAL_FIELDS_NEVER 0
-#define SHOW_OPTIONAL_FIELDS_ALWAYS 1
-
#define AV_TEXTFORMAT_PRINT_STRING_OPTIONAL 1
#define AV_TEXTFORMAT_PRINT_STRING_VALIDATE 2
diff --git a/libavutil/textformat/avtextformat.c b/libavutil/textformat/avtextformat.c
index cbac18c706..63a07051ce 100644
--- a/libavutil/textformat/avtextformat.c
+++ b/libavutil/textformat/avtextformat.c
@@ -36,6 +36,10 @@
#define SECTION_ID_NONE -1
+#define SHOW_OPTIONAL_FIELDS_AUTO -1
+#define SHOW_OPTIONAL_FIELDS_NEVER 0
+#define SHOW_OPTIONAL_FIELDS_ALWAYS 1
+
static const struct {
double bin_val;
double dec_val;
--
ffmpeg-codebot
More information about the ffmpeg-devel
mailing list