[FFmpeg-devel] [PATCH 3/3] fftools/textformat: Cleanup unneeded includes

softworkz ffmpegagent at gmail.com
Thu Jul 3 04:55:25 EEST 2025


From: softworkz <softworkz at hotmail.com>

Signed-off-by: softworkz <softworkz at hotmail.com>
---
 fftools/textformat/avtextformat.c  | 2 --
 fftools/textformat/avtextwriters.h | 1 -
 fftools/textformat/tf_compact.c    | 2 --
 fftools/textformat/tf_mermaid.c    | 2 --
 fftools/textformat/tw_avio.c       | 3 ---
 fftools/textformat/tw_buffer.c     | 3 ---
 fftools/textformat/tw_stdout.c     | 3 ---
 7 files changed, 16 deletions(-)

diff --git a/fftools/textformat/avtextformat.c b/fftools/textformat/avtextformat.c
index 39ab4cecb7..ca26139b46 100644
--- a/fftools/textformat/avtextformat.c
+++ b/fftools/textformat/avtextformat.c
@@ -18,8 +18,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <limits.h>
-#include <stdarg.h>
 #include <stdint.h>
 #include <stdio.h>
 #include <string.h>
diff --git a/fftools/textformat/avtextwriters.h b/fftools/textformat/avtextwriters.h
index 8457d7a6ea..614f352db8 100644
--- a/fftools/textformat/avtextwriters.h
+++ b/fftools/textformat/avtextwriters.h
@@ -21,7 +21,6 @@
 #ifndef FFTOOLS_TEXTFORMAT_AVTEXTWRITERS_H
 #define FFTOOLS_TEXTFORMAT_AVTEXTWRITERS_H
 
-#include <stdint.h>
 #include "libavformat/avio.h"
 #include "libavutil/bprint.h"
 
diff --git a/fftools/textformat/tf_compact.c b/fftools/textformat/tf_compact.c
index 3f38f24f94..b28d433618 100644
--- a/fftools/textformat/tf_compact.c
+++ b/fftools/textformat/tf_compact.c
@@ -18,10 +18,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <limits.h>
 #include <stdarg.h>
 #include <stdint.h>
-#include <stdio.h>
 #include <string.h>
 
 #include "avtextformat.h"
diff --git a/fftools/textformat/tf_mermaid.c b/fftools/textformat/tf_mermaid.c
index 54e0d57bc2..faee0e5e9c 100644
--- a/fftools/textformat/tf_mermaid.c
+++ b/fftools/textformat/tf_mermaid.c
@@ -18,10 +18,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <limits.h>
 #include <stdarg.h>
 #include <stdint.h>
-#include <stdio.h>
 #include <string.h>
 
 #include "avtextformat.h"
diff --git a/fftools/textformat/tw_avio.c b/fftools/textformat/tw_avio.c
index 21d3af27df..25468478fa 100644
--- a/fftools/textformat/tw_avio.c
+++ b/fftools/textformat/tw_avio.c
@@ -18,13 +18,10 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <limits.h>
-#include <stdarg.h>
 #include <string.h>
 
 #include "avtextwriters.h"
 #include "libavutil/avassert.h"
-
 #include "libavutil/error.h"
 
 /* AVIO Writer */
diff --git a/fftools/textformat/tw_buffer.c b/fftools/textformat/tw_buffer.c
index f6e63445d9..0437cb61ca 100644
--- a/fftools/textformat/tw_buffer.c
+++ b/fftools/textformat/tw_buffer.c
@@ -18,9 +18,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <limits.h>
-#include <stdarg.h>
-
 #include "avtextwriters.h"
 #include "libavutil/opt.h"
 #include "libavutil/bprint.h"
diff --git a/fftools/textformat/tw_stdout.c b/fftools/textformat/tw_stdout.c
index 3e2a8dd0d4..66e462c3a2 100644
--- a/fftools/textformat/tw_stdout.c
+++ b/fftools/textformat/tw_stdout.c
@@ -18,10 +18,7 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include <stdarg.h>
 #include <stdio.h>
-#include <string.h>
-
 #include "avtextwriters.h"
 #include "libavutil/opt.h"
 
-- 
ffmpeg-codebot


More information about the ffmpeg-devel mailing list