[FFmpeg-devel] [PATCH 24/24] libs: bump major version for all libraries

Martin Storsjö martin at martin.st
Fri Jan 26 18:52:12 EET 2024


On Fri, 26 Jan 2024, James Almer wrote:

> On 1/26/2024 1:44 PM, Vittorio Giovara wrote:
>> On Thu, Jan 25, 2024 at 2:48 PM James Almer <jamrial at gmail.com> wrote:
>> 
>>> Signed-off-by: James Almer <jamrial at gmail.com>
>>> ---
>>>   doc/APIchanges                | 2 +-
>>>   libavcodec/version.h          | 2 +-
>>>   libavcodec/version_major.h    | 2 +-
>>>   libavdevice/version.h         | 2 +-
>>>   libavdevice/version_major.h   | 2 +-
>>>   libavfilter/version.h         | 2 +-
>>>   libavfilter/version_major.h   | 2 +-
>>>   libavformat/version.h         | 2 +-
>>>   libavformat/version_major.h   | 2 +-
>>>   libavutil/version.h           | 6 +++---
>>>   libpostproc/version.h         | 2 +-
>>>   libpostproc/version_major.h   | 2 +-
>>>   libswresample/version.h       | 2 +-
>>>   libswresample/version_major.h | 2 +-
>>>   libswscale/version.h          | 2 +-
>>>   libswscale/version_major.h    | 2 +-
>>>   16 files changed, 18 insertions(+), 18 deletions(-)
>>>
>>> diff --git a/doc/APIchanges b/doc/APIchanges
>>> index e477ed78e0..60711379a1 100644
>>> --- a/doc/APIchanges
>>> +++ b/doc/APIchanges
>>> @@ -1,4 +1,4 @@
>>> -The last version increases of all libraries were on 2023-02-09
>>> +The last version increases of all libraries were on 2024-01-xx
>>>
>>>   API changes, most recent first:
>>>
>>> diff --git a/libavcodec/version.h b/libavcodec/version.h
>>> index 0fae3d06d3..8c3d476003 100644
>>> --- a/libavcodec/version.h
>>> +++ b/libavcodec/version.h
>>> @@ -29,7 +29,7 @@
>>>
>>>   #include "version_major.h"
>>>
>>> -#define LIBAVCODEC_VERSION_MINOR  38
>>> +#define LIBAVCODEC_VERSION_MINOR   0
>>>   #define LIBAVCODEC_VERSION_MICRO 100
>> 
>> 
>> should we use this bump opportunity to reset MICRO to 0 too?
>
> It's an option. I don't recall if we decided anything about it last bump 
> or during a meeting. And i don't know how much code out there still 
> bothers to check for it to distinguish projects. But i guess that after 
> so many bumps, any existing library user has long since stopped looking 
> at it.

VLC 3 (which still is the latest stable version) still has got such checks 
around. VLC git master also still does have some checks, but only for 
deciding which "AVPROVIDER" to print in log messages, no function 
differences.

// Martin


More information about the ffmpeg-devel mailing list