diff mbox series

[FFmpeg-devel,49/60] avformat/srtpproto: fix variable shadowing

Message ID D41CE2FHZ09S.3HQDBF6E3CDP0@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:43 p.m. UTC
---
 libavformat/srtpproto.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
diff mbox series

Patch

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,
 };