Unified · Split
| @@ -62,7 +62,7 @@ typedef struct CryptoContext { · 61 unmodified lines | ||
| 62 | 62 | #define OFFSET(x) offsetof(CryptoContext, x) |
| 63 | 63 | #define D AV_OPT_FLAG_DECODING_PARAM |
| 64 | 64 | #define E AV_OPT_FLAG_ENCODING_PARAM |
| 65 | −static const AVOption options[] = { | |
| 65 | +static const AVOption crypto_options[] = { | |
| 66 | 66 | {"key", "AES encryption/decryption key", OFFSET(key), AV_OPT_TYPE_BINARY, .flags = D|E }, |
| 67 | 67 | {"iv", "AES encryption/decryption initialization vector", OFFSET(iv), AV_OPT_TYPE_BINARY, .flags = D|E }, |
| 68 | 68 | {"decryption_key", "AES decryption key", OFFSET(decrypt_key), AV_OPT_TYPE_BINARY, .flags = D }, |
| @@ -75,7 +75,7 @@ static const AVOption options[] = { · 6 unmodified lines | ||
| 75 | 75 | static const AVClass crypto_class = { |
| 76 | 76 | .class_name = "crypto", |
| 77 | 77 | .item_name = av_default_item_name, |
| 78 | − .option = options, | |
| 78 | + .option = crypto_options, | |
| 79 | 79 | .version = LIBAVUTIL_VERSION_INT, |
| 80 | 80 | }; |
| 81 | 81 | |