From: "Martin Storsjö" <martin@martin.st> To: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> Cc: FFmpeg development discussions and patches <ffmpeg-devel@ffmpeg.org> Subject: Re: [FFmpeg-devel] [PATCH 17/19] Remove obsolete version.h inclusions Date: Wed, 23 Feb 2022 21:44:51 +0200 (EET) Message-ID: <be671287-da1-b954-3795-c12df76c7d45@martin.st> (raw) In-Reply-To: <AM7PR03MB66601703667BDA0D903C9E298F3C9@AM7PR03MB6660.eurprd03.prod.outlook.com> On Wed, 23 Feb 2022, Andreas Rheinhardt wrote: > Martin Storsjö: >> On Tue, 15 Feb 2022, Andreas Rheinhardt wrote: >> >>> Forgotten in e7bd47e657bbf9e1ce9915e93bc80cb1a29fb7f3. >>> >>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> >>> --- >>> libavcodec/vc2enc.c | 2 +- >>> libavcodec/x86/blockdsp_init.c | 2 -- >>> libavfilter/internal.h | 1 - >>> libavfilter/vf_swapuv.c | 1 - >>> libavformat/url.h | 1 - >>> libavutil/common.h | 1 - >>> libavutil/internal.h | 1 - >>> libswscale/swscale_internal.h | 1 - >>> 8 files changed, 1 insertion(+), 9 deletions(-) >> >> LGTM >> >> What do you think of the includes of version.h in >> libavdevice/android_camera.c, libavcodec/mediacodec.c, >> libavcodec/mediacodec_wrapper.c and libavcodec/xvmc.h? >> >> // Martin >> > > The one from android_camera.c stems from a misunderstanding: It used > LIBAVDEVICE_VERSION_INT until 13b77af2f0b56d6c87bb147947337981c21f4245, > so it is safe to remove (or replace by lavu/version.h). > The mediacodec.c has been added for reasons unknown and seems to have > been unnecessary all the time. > The one in mediacodec_wrapper.c stems from the same misunderstanding as > for android_camera.c. Has been fixed in > c0bce367e4932f0fb09195e6978ac1a5a60480a4. Thanks! > xvmc.h's inclusion is certainly unnecessary. But who cares given that > this header isn't included anywhere? It just came up when grepping for 'version.h', and I was trying to check whether it could be enough with 'version_major.h' in my patchset or not. // 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".
next prev parent reply other threads:[~2022-02-23 19:45 UTC|newest] Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-02-14 18:41 [FFmpeg-devel] [PATCH] avutil/x86/emms: Don't unnecessarily include lavu/cpu.h Andreas Rheinhardt 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 02/19] avdevice/decklink_(common_c|dec|enc).h: Fix checkheaders Andreas Rheinhardt 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 03/19] avcodec/cabac_functions: Add missing headers Andreas Rheinhardt 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 04/19] avcodec/aarch64/idct: Add missing stddef Andreas Rheinhardt 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 05/19] avcodec/mips: Fix checkheaders Andreas Rheinhardt 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 06/19] avformat/avio: Don't include common.h Andreas Rheinhardt 2022-02-23 14:46 ` Martin Storsjö 2022-02-23 16:07 ` Andreas Rheinhardt 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 07/19] avutil/log: Don't include avutil.h Andreas Rheinhardt 2022-02-23 14:47 ` Martin Storsjö 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 08/19] avutil/audio_fifo: Avoid avutil.h inclusion Andreas Rheinhardt 2022-02-23 14:48 ` Martin Storsjö 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 09/19] avutil/fifo: Don't include avutil.h Andreas Rheinhardt 2022-02-23 14:49 ` Martin Storsjö 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 10/19] avutil/file: " Andreas Rheinhardt 2022-02-23 14:49 ` Martin Storsjö 2022-02-15 17:42 ` [FFmpeg-devel] [PATCH 11/19] avutil/eval: " Andreas Rheinhardt 2022-02-23 14:50 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 12/19] avutil/imgutils: " Andreas Rheinhardt 2022-02-23 14:50 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 13/19] avutil/samplefmt: Don't include attributes.h, avutil.h Andreas Rheinhardt 2022-02-23 14:51 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 14/19] avutil/pixelutils: Don't include common.h Andreas Rheinhardt 2022-02-23 14:51 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 15/19] avutil/integer: " Andreas Rheinhardt 2022-02-23 14:51 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 16/19] avutil/display: Don't include avutil.h Andreas Rheinhardt 2022-02-23 14:52 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 17/19] Remove obsolete version.h inclusions Andreas Rheinhardt 2022-02-23 14:54 ` Martin Storsjö 2022-02-23 15:15 ` Andreas Rheinhardt 2022-02-23 19:44 ` Martin Storsjö [this message] 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 18/19] avutil/avassert: Don't include avutil.h Andreas Rheinhardt 2022-02-23 14:58 ` Martin Storsjö 2022-02-15 17:43 ` [FFmpeg-devel] [PATCH 19/19] Remove unnecessary libavutil/(avutil|common|internal).h inclusions Andreas Rheinhardt 2022-02-23 15:02 ` Martin Storsjö
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=be671287-da1-b954-3795-c12df76c7d45@martin.st \ --to=martin@martin.st \ --cc=andreas.rheinhardt@outlook.com \ --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