[FFmpeg-devel] [PATCH 1/2] avcodec/bsf: Don't set defaults for AVClass without options

James Almer jamrial at gmail.com
Sat Mar 21 23:54:50 EET 2020


On 3/20/2020 5:17 AM, Anton Khirnov wrote:
> 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.

Applied.


More information about the ffmpeg-devel mailing list