Git Inbox Mirror of the ffmpeg-devel mailing list - see https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
 help / color / mirror / Atom feed
From: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
To: ffmpeg-devel@ffmpeg.org
Cc: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Subject: [FFmpeg-devel] [PATCH] avcodec: Remove unnecessary fft, dct inclusions
Date: Sun,  6 Nov 2022 20:36:25 +0100
Message-ID: <GV1P250MB0737B68F04A65AF9764E0BBA8F3D9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM> (raw)

Also remove some internal.h inclusions which have been
unnecessarily added recently.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
 libavcodec/ac3enc.c             | 1 -
 libavcodec/ac3enc_fixed.c       | 1 -
 libavcodec/atrac3plusdsp.c      | 2 --
 libavcodec/proresenc_anatoliy.c | 1 -
 libavcodec/synth_filter.c       | 1 -
 libavcodec/twinvq.c             | 1 -
 libavcodec/twinvq.h             | 1 -
 7 files changed, 8 deletions(-)

diff --git a/libavcodec/ac3enc.c b/libavcodec/ac3enc.c
index f8ec4e199e..3cb4e5f029 100644
--- a/libavcodec/ac3enc.c
+++ b/libavcodec/ac3enc.c
@@ -48,7 +48,6 @@
 #include "ac3.h"
 #include "ac3defs.h"
 #include "ac3tab.h"
-#include "fft.h"
 #include "ac3enc.h"
 #include "eac3enc.h"
 
diff --git a/libavcodec/ac3enc_fixed.c b/libavcodec/ac3enc_fixed.c
index f1f573bb72..5a5f1cc2e9 100644
--- a/libavcodec/ac3enc_fixed.c
+++ b/libavcodec/ac3enc_fixed.c
@@ -27,7 +27,6 @@
  */
 
 #define AC3ENC_FLOAT 0
-#include "internal.h"
 #include "audiodsp.h"
 #include "ac3enc.h"
 #include "codec_internal.h"
diff --git a/libavcodec/atrac3plusdsp.c b/libavcodec/atrac3plusdsp.c
index 7dd3d7a728..802f12aec5 100644
--- a/libavcodec/atrac3plusdsp.c
+++ b/libavcodec/atrac3plusdsp.c
@@ -31,9 +31,7 @@
 #include "libavutil/libm.h"
 #include "libavutil/mem_internal.h"
 
-#include "avcodec.h"
 #include "sinewin.h"
-#include "fft.h"
 #include "atrac3plus.h"
 
 /**
diff --git a/libavcodec/proresenc_anatoliy.c b/libavcodec/proresenc_anatoliy.c
index 5fa5f1fd69..bd1b70cc5d 100644
--- a/libavcodec/proresenc_anatoliy.c
+++ b/libavcodec/proresenc_anatoliy.c
@@ -31,7 +31,6 @@
 #include "libavutil/opt.h"
 #include "avcodec.h"
 #include "codec_internal.h"
-#include "dct.h"
 #include "encode.h"
 #include "internal.h"
 #include "profiles.h"
diff --git a/libavcodec/synth_filter.c b/libavcodec/synth_filter.c
index d6c4d1bf10..f90c6be7a7 100644
--- a/libavcodec/synth_filter.c
+++ b/libavcodec/synth_filter.c
@@ -19,7 +19,6 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#include "fft.h"
 #include "dcadct.h"
 #include "dcamath.h"
 #include "synth_filter.h"
diff --git a/libavcodec/twinvq.c b/libavcodec/twinvq.c
index 85eca9fc5c..4cc0583f8a 100644
--- a/libavcodec/twinvq.c
+++ b/libavcodec/twinvq.c
@@ -26,7 +26,6 @@
 #include "libavutil/float_dsp.h"
 #include "avcodec.h"
 #include "decode.h"
-#include "fft.h"
 #include "lsp.h"
 #include "metasound_twinvq_data.h"
 #include "sinewin.h"
diff --git a/libavcodec/twinvq.h b/libavcodec/twinvq.h
index 3ce096f90a..84f4e51438 100644
--- a/libavcodec/twinvq.h
+++ b/libavcodec/twinvq.h
@@ -30,7 +30,6 @@
 #include "libavutil/common.h"
 #include "libavutil/float_dsp.h"
 #include "avcodec.h"
-#include "internal.h"
 
 enum TwinVQCodec {
     TWINVQ_CODEC_VQF,
-- 
2.34.1

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

                 reply	other threads:[~2022-11-06 19:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=GV1P250MB0737B68F04A65AF9764E0BBA8F3D9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM \
    --to=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