diff mbox series

[FFmpeg-devel,07/17] avutil/internal, swresample/audioconvert: Remove cpu.h inclusions

Message ID HE1PR0301MB21543B20F5C1BD60E2A884AB8F319@HE1PR0301MB2154.eurprd03.prod.outlook.com
State Accepted
Headers show
Series [FFmpeg-devel,01/17] avcodec/avcodec: Stop including bsf.h in avcodec.h | expand


Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Andreas Rheinhardt June 14, 2021, 10:41 p.m. UTC
These inclusions are not necessary, as cpu.h is already included
wherever it is needed (via direct inclusion or via the arch-specific

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@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 mbox series


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);