From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id BB58B428D8 for ; Fri, 6 May 2022 11:09:24 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id C4B0C68B35B; Fri, 6 May 2022 14:09:21 +0300 (EEST) Received: from mail8.parnet.fi (mail8.parnet.fi [77.234.108.134]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 5200268B2F7 for ; Fri, 6 May 2022 14:09:15 +0300 (EEST) Received: from mail9.parnet.fi (mail9.parnet.fi [77.234.108.21]) by mail8.parnet.fi with ESMTP id 246B9Dde020358-246B9Ddf020358; Fri, 6 May 2022 14:09:13 +0300 Received: from foo.martin.st (host-97-187.parnet.fi [77.234.97.187]) by mail9.parnet.fi (Postfix) with ESMTPS id C5A92A1407; Fri, 6 May 2022 14:09:13 +0300 (EEST) Date: Fri, 6 May 2022 14:09:11 +0300 (EEST) From: =?ISO-8859-15?Q?Martin_Storsj=F6?= To: FFmpeg development discussions and patches In-Reply-To: Message-ID: <37a11f3c-45fd-a2c4-14c6-a15541974ce@martin.st> References: MIME-Version: 1.0 X-FE-Policy-ID: 3:14:2:SYSTEM Subject: Re: [FFmpeg-devel] [PATCH] lib*/version: Move library version functions into files of their own X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Andreas Rheinhardt Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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 > --- > 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 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".