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>
release/7.0
Andreas Rheinhardt 1 year ago committed by James Almer
parent b800327f4c
commit be54923abc
  1. 2
      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,

Loading…
Cancel
Save