Skip to content

Commit 074bf9f

Browse files
committed
avformat/crypto: fix variable shadowing
1 parent 24711b0 commit 074bf9f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libavformat/crypto.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ typedef struct CryptoContext {
6262
#define OFFSET(x) offsetof(CryptoContext, x)
6363
#define D AV_OPT_FLAG_DECODING_PARAM
6464
#define E AV_OPT_FLAG_ENCODING_PARAM
65-
static const AVOption options[] = {
65+
static const AVOption crypto_options[] = {
6666
{"key", "AES encryption/decryption key", OFFSET(key), AV_OPT_TYPE_BINARY, .flags = D|E },
6767
{"iv", "AES encryption/decryption initialization vector", OFFSET(iv), AV_OPT_TYPE_BINARY, .flags = D|E },
6868
{"decryption_key", "AES decryption key", OFFSET(decrypt_key), AV_OPT_TYPE_BINARY, .flags = D },
@@ -75,7 +75,7 @@ static const AVOption options[] = {
7575
static const AVClass crypto_class = {
7676
.class_name = "crypto",
7777
.item_name = av_default_item_name,
78-
.option = options,
78+
.option = crypto_options,
7979
.version = LIBAVUTIL_VERSION_INT,
8080
};
8181

0 commit comments

Comments
 (0)