[FFmpeg-devel] [PATCH 1/2] avcodec/bsf: Don't set defaults for AVClass without options
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Wed Mar 18 18:10:37 EET 2020
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.
- Andreas
More information about the ffmpeg-devel
mailing list