From a2d2782c580ea6a62b48b29ceca692afb118deb6 Mon Sep 17 00:00:00 2001
From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Date: Tue, 15 Apr 2025 00:42:42 +0200
Subject: [PATCH 03/12] fftools/textformat/tw_avio: Remove unused private class

This AVTextWriter does not have any options.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 fftools/textformat/tw_avio.c | 15 +++------------
 1 file changed, 3 insertions(+), 12 deletions(-)

diff --git a/fftools/textformat/tw_avio.c b/fftools/textformat/tw_avio.c
index d335d35a56..77f8521235 100644
--- a/fftools/textformat/tw_avio.c
+++ b/fftools/textformat/tw_avio.c
@@ -20,9 +20,11 @@
 
 #include <limits.h>
 #include <stdarg.h>
+#include <string.h>
 
 #include "avtextwriters.h"
-#include "libavutil/opt.h"
+
+#include "libavutil/error.h"
 
 /* AVIO Writer */
 
@@ -34,16 +36,6 @@ typedef struct IOWriterContext {
     int close_on_uninit;
 } IOWriterContext;
 
-static const char *iowriter_get_name(void *ctx)
-{
-    return WRITER_NAME;
-}
-
-static const AVClass iowriter_class = {
-    .class_name = WRITER_NAME,
-    .item_name = iowriter_get_name,
-};
-
 static av_cold void iowriter_uninit(AVTextWriterContext *wctx)
 {
     IOWriterContext *ctx = wctx->priv;
@@ -81,7 +73,6 @@ const AVTextWriter avtextwriter_avio = {
     .name                 = WRITER_NAME,
     .priv_size            = sizeof(IOWriterContext),
     .uninit               = iowriter_uninit,
-    .priv_class           = &iowriter_class,
     .writer_put_str       = io_put_str,
     .writer_printf        = io_printf,
     .writer_w8            = io_w8
-- 
2.45.2