From d64cbd4fda01c6e33e9e5e6f859e81c47bdb1760 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Tue, 17 Mar 2020 22:46:36 +0100 Subject: remove CHAR_MIN/CHAR_MAX usage It is not needed at all. --- libavformat/aviobuf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/aviobuf.c') diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c index cc22beff28..c4f168e49b 100644 --- a/libavformat/aviobuf.c +++ b/libavformat/aviobuf.c @@ -57,7 +57,7 @@ static const AVClass *ff_avio_child_class_next(const AVClass *prev) #define E AV_OPT_FLAG_ENCODING_PARAM #define D AV_OPT_FLAG_DECODING_PARAM static const AVOption ff_avio_options[] = { - {"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 }, 0, 0, D }, { NULL }, }; -- cgit v1.2.3