From be54923abc6d3ab965c17265d44a2724fab29c97 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Sat, 10 Feb 2024 15:50:44 +0100 Subject: [PATCH] avutil/opt: Don't use AV_OPT_TYPE_FLAGS for sentinels Make AVOptionType start with 1 instead. Signed-off-by: Andreas Rheinhardt --- libavutil/opt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavutil/opt.h b/libavutil/opt.h index 61697f0369..91024da022 100644 --- a/libavutil/opt.h +++ b/libavutil/opt.h @@ -221,7 +221,7 @@ */ enum AVOptionType{ - AV_OPT_TYPE_FLAGS, + AV_OPT_TYPE_FLAGS = 1, AV_OPT_TYPE_INT, AV_OPT_TYPE_INT64, AV_OPT_TYPE_DOUBLE,