[FFmpeg-devel] [PATCH 06/29] lavu/opt: add array options
Anton Khirnov
anton at khirnov.net
Tue Mar 5 11:50:08 EET 2024
Quoting Marton Balint (2024-03-04 22:32:21)
> > @@ -330,6 +380,14 @@ typedef struct AVOption {
> > const char *str;
> > /* TODO those are unused now */
> > AVRational q;
> > +
> > + /**
> > + * Used for AV_OPT_TYPE_FLAG_ARRAY options. May be NULL.
>
> This contradicts with the documentation of AVOptionArrayDef above, because
> there you write that default_val MUST be set.
Changed 'must' to 'may' locally. It is optional, and one of the test
entries does not set it.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list