diff mbox series

[FFmpeg-devel,48/60] avformat/tee: fix variable shadowing

Message ID D41CE2FHYWEW.AHYNW3W7I0J2@gmail.com
State New
Headers show
Series [FFmpeg-devel,01/60] fftools/ffmpeg_opt: fix variable shadowing | expand

Commit Message

Marvin Scholz Sept. 8, 2024, 11:42 p.m. UTC
---
 libavformat/tee.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

diff --git a/libavformat/tee.c b/libavformat/tee.c
index 1a2a8ead82..7ec9ab4800 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -65,7 +65,7 @@  static const char *const slave_bsfs_spec_sep = "/";
 static const char *const slave_select_sep = ",";
 
 #define OFFSET(x) offsetof(TeeContext, x)
-static const AVOption options[] = {
+static const AVOption tee_options[] = {
         {"use_fifo", "Use fifo pseudo-muxer to separate actual muxers from encoder",
          OFFSET(use_fifo), AV_OPT_TYPE_BOOL, {.i64 = 0}, 0, 1, AV_OPT_FLAG_ENCODING_PARAM},
         {"fifo_options", "fifo pseudo-muxer options", OFFSET(fifo_options),
@@ -76,7 +76,7 @@  static const AVOption options[] = {
 static const AVClass tee_muxer_class = {
     .class_name = "Tee muxer",
     .item_name  = av_default_item_name,
-    .option = options,
+    .option     = tee_options,
     .version    = LIBAVUTIL_VERSION_INT,
 };