Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: "Martin Storsjö" <martin@martin.st>
To: ffmpeg-devel@ffmpeg.org
Subject: Re: [FFmpeg-devel] [PATCH v2 1/9] libavcodec: Split version.h
Date: Sun, 13 Mar 2022 00:34:07 +0200 (EET)
Message-ID: <69bf1fe9-2158-23fd-977-e145c3271790@martin.st> (raw)
In-Reply-To: <20220311121830.5653-1-martin@martin.st>

On Fri, 11 Mar 2022, Martin Storsjö wrote:

> This avoids including version.h in all source files, avoiding
> unnecessary rebuilds when the version number is bumped. Only
> version_major.h is included by the main header, which defines
> availability of e.g. FF_API_* macros, and which is bumped much
> less often.
> ---
> fftools/cmdutils.c             |  1 +
> fftools/ffmpeg.c               |  1 +
> fftools/ffprobe.c              |  1 +
> libavcodec/Makefile            |  1 +
> libavcodec/aacenc.c            |  1 +
> libavcodec/avcodec.c           |  1 +
> libavcodec/avcodec.h           |  2 +-
> libavcodec/codec.h             |  2 +-
> libavcodec/dpxenc.c            |  1 +
> libavcodec/j2kenc.c            |  1 +
> libavcodec/libvorbisenc.c      |  1 +
> libavcodec/mjpegenc_common.c   |  1 +
> libavcodec/mpeg4videoenc.c     |  1 +
> libavcodec/options_table.h     |  2 +-
> libavcodec/packet.h            |  2 +-
> libavcodec/pthread_frame.c     |  2 +-
> libavcodec/tiffenc.c           |  1 +
> libavcodec/vaapi_encode_h264.c |  1 +
> libavcodec/vc2enc.c            |  1 +
> libavcodec/version.h           | 28 ++---------------
> libavcodec/version_major.h     | 55 ++++++++++++++++++++++++++++++++++
> libavformat/movenc.c           |  1 +
> 22 files changed, 77 insertions(+), 31 deletions(-)
> create mode 100644 libavcodec/version_major.h

After pushing "movenc: Use LIBAVFORMAT_IDENT instead of LIBAVCODEC_IDENT", 
I amended this patch locally to remove the change to libavformat/movenc.c.

// 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".

      parent reply	other threads:[~2022-03-12 22:34 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-11 12:18 Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 2/9] libavformat: " Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 3/9] libavdevice: " Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 4/9] libpostproc: " Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 5/9] libswresample: " Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 6/9] libswscale: " Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 7/9] libavfilter: " Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 8/9] doc: Add an entry to APIchanges about no longer implicitly including version.h Martin Storsjö
2022-03-11 12:18 ` [FFmpeg-devel] [PATCH v2 9/9] configure: Use a separate config_components.h header for $ALL_COMPONENTS Martin Storsjö
2022-03-11 13:53   ` [FFmpeg-devel] [PATCH v3 " Martin Storsjö
2022-03-17 16:29     ` Michael Niedermayer
2022-03-12 22:34 ` Martin Storsjö [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=69bf1fe9-2158-23fd-977-e145c3271790@martin.st \
    --to=martin@martin.st \
    --cc=ffmpeg-devel@ffmpeg.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://master.gitmailbox.com/ffmpegdev/0 ffmpegdev/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 ffmpegdev ffmpegdev/ https://master.gitmailbox.com/ffmpegdev \
		ffmpegdev@gitmailbox.com
	public-inbox-index ffmpegdev

Example config snippet for mirrors.


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git