[FFmpeg-cvslog] avformat/teeproto: Remove useless AVClass without options

Andreas Rheinhardt git at videolan.org
Sun Sep 10 22:35:11 EEST 2023


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Wed Sep  6 17:39:37 2023 +0200| [7ed8c08821d7143c1efa9923ac27400ecf79790a] | committer: Andreas Rheinhardt

avformat/teeproto: Remove useless AVClass without options

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7ed8c08821d7143c1efa9923ac27400ecf79790a
---

 libavformat/teeproto.c | 14 --------------
 1 file changed, 14 deletions(-)

diff --git a/libavformat/teeproto.c b/libavformat/teeproto.c
index dca97a6741..7dd5065f4b 100644
--- a/libavformat/teeproto.c
+++ b/libavformat/teeproto.c
@@ -20,7 +20,6 @@
  */
 
 #include "libavutil/avstring.h"
-#include "libavutil/opt.h"
 #include "avformat.h"
 #include "avio_internal.h"
 #include "tee_common.h"
@@ -30,22 +29,10 @@ typedef struct ChildContext {
 } ChildContext;
 
 typedef struct TeeContext {
-    const AVClass *class;
     int child_count;
     ChildContext *child;
 } TeeContext;
 
-static const AVOption tee_options[] = {
-    { NULL }
-};
-
-static const AVClass tee_class = {
-    .class_name = "tee",
-    .item_name  = av_default_item_name,
-    .option     = tee_options,
-    .version    = LIBAVUTIL_VERSION_INT,
-};
-
 static const char *const child_delim = "|";
 
 static int tee_write(URLContext *h, const unsigned char *buf, int size)
@@ -154,6 +141,5 @@ const URLProtocol ff_tee_protocol = {
     .url_write           = tee_write,
     .url_close           = tee_close,
     .priv_data_size      = sizeof(TeeContext),
-    .priv_data_class     = &tee_class,
     .default_whitelist   = "crypto,file,http,https,httpproxy,rtmp,tcp,tls"
 };



More information about the ffmpeg-cvslog mailing list