{"protocol_whitelist","List of protocols that are allowed to be used",OFFSET(protocol_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"protocol_whitelist","List of protocols that are allowed to be used",OFFSET(protocol_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"protocol_blacklist","List of protocols that are not allowed to be used",OFFSET(protocol_blacklist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{NULL}
{NULL}
};
};
@ -173,12 +174,19 @@ int ffurl_connect(URLContext *uc, AVDictionary **options)
// Check that URLContext was initialized correctly and lists are matching if set
// Check that URLContext was initialized correctly and lists are matching if set
{"codec_whitelist","List of decoders that are allowed to be used",OFFSET(codec_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"codec_whitelist","List of decoders that are allowed to be used",OFFSET(codec_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"format_whitelist","List of demuxers that are allowed to be used",OFFSET(format_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"format_whitelist","List of demuxers that are allowed to be used",OFFSET(format_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"protocol_whitelist","List of protocols that are allowed to be used",OFFSET(protocol_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"protocol_whitelist","List of protocols that are allowed to be used",OFFSET(protocol_whitelist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},
{"protocol_blacklist","List of protocols that are not allowed to be used",OFFSET(protocol_blacklist),AV_OPT_TYPE_STRING,{.str=NULL},CHAR_MIN,CHAR_MAX,D},