From 54672d194c13db667c3b776a6d396b6f5ac58fda Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 21 Feb 2026 14:12:29 +0100 Subject: [PATCH] avformat/srtpproto: Fix shadowing Signed-off-by: Andreas Rheinhardt --- libavformat/srtpproto.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/srtpproto.c b/libavformat/srtpproto.c index 02cf156327..cf6064625c 100644 --- a/libavformat/srtpproto.c +++ b/libavformat/srtpproto.c @@ -37,7 +37,7 @@ typedef struct SRTPProtoContext { #define D AV_OPT_FLAG_DECODING_PARAM #define E AV_OPT_FLAG_ENCODING_PARAM -static const AVOption options[] = { +static const AVOption srtp_options[] = { { "srtp_out_suite", "", offsetof(SRTPProtoContext, out_suite), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E }, { "srtp_out_params", "", offsetof(SRTPProtoContext, out_params), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, E }, { "srtp_in_suite", "", offsetof(SRTPProtoContext, in_suite), AV_OPT_TYPE_STRING, { .str = NULL }, 0, 0, D }, @@ -48,7 +48,7 @@ static const AVOption options[] = { static const AVClass srtp_context_class = { .class_name = "srtp", .item_name = av_default_item_name, - .option = options, + .option = srtp_options, .version = LIBAVUTIL_VERSION_INT, };