[FFmpeg-devel] [PATCH] lib*/version: Move library version functions into files of their own
Martin Storsjö
martin at martin.st
Fri May 6 14:09:11 EEST 2022
On Fri, 6 May 2022, Andreas Rheinhardt wrote:
> This avoids having to rebuild big files every time FFMPEG_VERSION
> changes (which it does with every commit).
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> Makefile | 4 ++-
> ffbuild/common.mak | 2 --
> libavcodec/Makefile | 1 +
> libavcodec/avcodec.c | 25 --------------
> libavcodec/version.c | 50 +++++++++++++++++++++++++++
> libavdevice/Makefile | 1 +
> libavdevice/avdevice.c | 24 -------------
> libavdevice/version.c | 45 ++++++++++++++++++++++++
> libavfilter/Makefile | 1 +
> libavfilter/avfilter.c | 23 ------------
> libavfilter/version.c | 44 +++++++++++++++++++++++
> libavformat/Makefile | 1 +
> libavformat/utils.c | 21 -----------
> libavformat/version.c | 45 ++++++++++++++++++++++++
> libavutil/Makefile | 1 +
> libavutil/utils.c | 43 -----------------------
> libavutil/version.c | 71 ++++++++++++++++++++++++++++++++++++++
> libpostproc/Makefile | 3 +-
> libpostproc/postprocess.c | 21 -----------
> libpostproc/version.c | 44 +++++++++++++++++++++++
> libswresample/Makefile | 1 +
> libswresample/swresample.c | 21 -----------
> libswresample/version.c | 45 ++++++++++++++++++++++++
> libswscale/Makefile | 1 +
> libswscale/utils.c | 20 -----------
> libswscale/version.c | 41 ++++++++++++++++++++++
> 26 files changed, 397 insertions(+), 202 deletions(-)
LGTM, thanks!
// Martin
More information about the ffmpeg-devel
mailing list