summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-10 15:50:44 +0100
committerJames Almer <jamrial@gmail.com>2024-03-07 08:53:31 -0300
commitbe54923abc6d3ab965c17265d44a2724fab29c97 (patch)
tree771ff7be5de394b01977451e842dab02a9a6750d
parentb800327f4c7233d09baca958121722a04c2035ff (diff)
avutil/opt: Don't use AV_OPT_TYPE_FLAGS for sentinels
Make AVOptionType start with 1 instead. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--libavutil/opt.h2
1 files changed, 1 insertions, 1 deletions
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,