[FFmpeg-devel] [PATCH 1/2] avcodec/bsf: Don't set defaults for AVClass without options
Anton Khirnov
anton at khirnov.net
Fri Mar 20 10:17:40 EET 2020
Quoting Andreas Rheinhardt (2020-03-18 17:10:37)
> Anton Khirnov:
> > Quoting Andreas Rheinhardt (2020-03-17 22:31:46)
> >> This happened for AVBSFContext.
> >>
> >> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> >> ---
> > Maybe ok. Not sure if it's better to drop it because it's unused or keep
> > it in case someone adds options later.
> >
> My opinion is that whoever adds the first option should add the
> av_opt_set_default()/av_opt_free(), hence this patch.
Okay, go ahead then.
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list