[FFmpeg-devel] [PATCH 48/60] avformat/tee: fix variable shadowing
Marvin Scholz
epirat07 at gmail.com
Mon Sep 9 02:42:25 EEST 2024
---
libavformat/tee.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
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,
};
--
2.39.3 (Apple Git-146)
More information about the ffmpeg-devel
mailing list