[FFmpeg-devel] [PATCH] Revert "all: Don't set AVClass.item_name to its default value"

Anton Khirnov anton at khirnov.net
Fri Jan 19 15:04:56 EET 2024


Quoting James Almer (2024-01-19 14:01:47)
> On 1/19/2024 9:36 AM, Anton Khirnov wrote:
> > Some callers assume that item_name is always set, so this may be
> > considered an API break.
> > 
> > This reverts commit 0c6203c97a99f69dbaa6e4011d48c331e1111f5e.
> 
> Ok.
> 
> We could fwiw announce that starting with an arbitrary major soname 
> item_name can be NULL, and revert this revert.

Might be better to just replace it with a new field, since otherwise we
cannot signal this to the users.

-- 
Anton Khirnov


More information about the ffmpeg-devel mailing list