ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Tue Apr 15 00:42:42 2025 +0200| [395c91347f15913bcb8aa4a6f3f11628387a9659] | committer: Andreas Rheinhardt
fftools/textformat/tw_avio: Remove unused private class This AVTextWriter does not have any options. Reviewed-by: softworkz . <softworkz-at-hotmail....@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=395c91347f15913bcb8aa4a6f3f11628387a9659 --- 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 _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".