[FFmpeg-devel] [PATCH 07/17] avutil/internal, swresample/audioconvert: Remove cpu.h inclusions
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Tue Jun 15 01:41:23 EEST 2021
These inclusions are not necessary, as cpu.h is already included
wherever it is needed (via direct inclusion or via the arch-specific
headers).
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
I did my best to make sure this is correct on all arches; but testing
is always welcome.
libavutil/internal.h | 1 -
libswresample/audioconvert.h | 1 -
2 files changed, 2 deletions(-)
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 7cd36ff742..a33e8700c3 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -40,7 +40,6 @@
#include "config.h"
#include "attributes.h"
#include "timer.h"
-#include "cpu.h"
#include "dict.h"
#include "macros.h"
#include "pixfmt.h"
diff --git a/libswresample/audioconvert.h b/libswresample/audioconvert.h
index 1ca30c2a65..bb143a876d 100644
--- a/libswresample/audioconvert.h
+++ b/libswresample/audioconvert.h
@@ -30,7 +30,6 @@
#include "swresample_internal.h"
-#include "libavutil/cpu.h"
typedef void (conv_func_type)(uint8_t *po, const uint8_t *pi, int is, int os, uint8_t *end);
--
2.27.0
More information about the ffmpeg-devel
mailing list