You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
fftools/textformat/tw_avio: Remove unused private class
This AVTextWriter does not have any options. Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user