[FFmpeg-devel] [PATCH 2/4] lavu/opt: add flag to return NULL when applicable in av_opt_get
Nicolas George
george at nsup.org
Mon Sep 21 12:53:24 CEST 2015
Le jour de la Récompense, an CCXXIII, Rodger Combs a écrit :
> ---
> libavutil/opt.c | 12 ++++++++++--
> libavutil/opt.h | 10 ++++++++++
> libavutil/version.h | 2 +-
> 3 files changed, 21 insertions(+), 3 deletions(-)
I think this is a good idea.
(I would even say it should be the default, but the transition is annoying.)
> +#define AV_OPT_SEARCH_ALLOW_NULL (1 << 2)
Maybe AV_OPT_ALLOW_NULL? It is not really about searching the option.
Regards,
--
Nicolas George
More information about the ffmpeg-devel
mailing list