diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-06-12 22:10:11 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2021-07-22 12:59:07 +0200 |
commit | 69f120ead7fbec9a469a5c0950b2a44fbc89f7a0 (patch) | |
tree | 47263a143252a08c807a0a5f62936cb93e496f7c /libavcodec | |
parent | cea34b91727370cb0c1eb76258518a9fc78f91fd (diff) | |
download | ffmpeg-69f120ead7fbec9a469a5c0950b2a44fbc89f7a0.tar.gz |
avcodec/avcodec: Don't include cpu.h
It is not used here at all; instead, add it where it is used without
including it or any of the arch-specific CPU headers.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 1 | ||||
-rw-r--r-- | libavcodec/frame_thread_encoder.c | 1 | ||||
-rw-r--r-- | libavcodec/libaomdec.c | 1 | ||||
-rw-r--r-- | libavcodec/libaomenc.c | 1 | ||||
-rw-r--r-- | libavcodec/libdav1d.c | 1 | ||||
-rw-r--r-- | libavcodec/libdavs2.c | 1 | ||||
-rw-r--r-- | libavcodec/libuavs3d.c | 1 | ||||
-rw-r--r-- | libavcodec/libvpxdec.c | 1 | ||||
-rw-r--r-- | libavcodec/libvpxenc.c | 1 | ||||
-rw-r--r-- | libavcodec/tests/aarch64/dct.c | 1 | ||||
-rw-r--r-- | libavcodec/tests/arm/dct.c | 1 | ||||
-rw-r--r-- | libavcodec/tests/motion.c | 1 | ||||
-rw-r--r-- | libavcodec/tests/ppc/dct.c | 1 | ||||
-rw-r--r-- | libavcodec/tests/x86/dct.c | 1 |
14 files changed, 13 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 7802946a69..5e32c5b0bf 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -31,7 +31,6 @@ #include "libavutil/attributes.h" #include "libavutil/avutil.h" #include "libavutil/buffer.h" -#include "libavutil/cpu.h" #include "libavutil/dict.h" #include "libavutil/frame.h" #include "libavutil/log.h" diff --git a/libavcodec/frame_thread_encoder.c b/libavcodec/frame_thread_encoder.c index b3e571f4b0..9cabfc495f 100644 --- a/libavcodec/frame_thread_encoder.c +++ b/libavcodec/frame_thread_encoder.c @@ -23,6 +23,7 @@ #include "frame_thread_encoder.h" #include "libavutil/avassert.h" +#include "libavutil/cpu.h" #include "libavutil/imgutils.h" #include "libavutil/opt.h" #include "libavutil/thread.h" diff --git a/libavcodec/libaomdec.c b/libavcodec/libaomdec.c index 6e7324a832..75ecc08970 100644 --- a/libavcodec/libaomdec.c +++ b/libavcodec/libaomdec.c @@ -27,6 +27,7 @@ #include <aom/aomdx.h> #include "libavutil/common.h" +#include "libavutil/cpu.h" #include "libavutil/imgutils.h" #include "avcodec.h" diff --git a/libavcodec/libaomenc.c b/libavcodec/libaomenc.c index 742c96589c..9c0317f3b2 100644 --- a/libavcodec/libaomenc.c +++ b/libavcodec/libaomenc.c @@ -30,6 +30,7 @@ #include "libavutil/avassert.h" #include "libavutil/base64.h" #include "libavutil/common.h" +#include "libavutil/cpu.h" #include "libavutil/mathematics.h" #include "libavutil/opt.h" #include "libavutil/pixdesc.h" diff --git a/libavcodec/libdav1d.c b/libavcodec/libdav1d.c index 46436a8568..8a816da34d 100644 --- a/libavcodec/libdav1d.c +++ b/libavcodec/libdav1d.c @@ -22,6 +22,7 @@ #include <dav1d/dav1d.h> #include "libavutil/avassert.h" +#include "libavutil/cpu.h" #include "libavutil/film_grain_params.h" #include "libavutil/mastering_display_metadata.h" #include "libavutil/imgutils.h" diff --git a/libavcodec/libdavs2.c b/libavcodec/libdavs2.c index 28cad9c5f7..a1672d1c95 100644 --- a/libavcodec/libdavs2.c +++ b/libavcodec/libdavs2.c @@ -22,6 +22,7 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#include "libavutil/cpu.h" #include "avcodec.h" #include "internal.h" #include "davs2.h" diff --git a/libavcodec/libuavs3d.c b/libavcodec/libuavs3d.c index f7e458b356..1d523c8722 100644 --- a/libavcodec/libuavs3d.c +++ b/libavcodec/libuavs3d.c @@ -24,6 +24,7 @@ #include "libavutil/avassert.h" #include "libavutil/avutil.h" #include "libavutil/common.h" +#include "libavutil/cpu.h" #include "libavutil/imgutils.h" #include "libavutil/intreadwrite.h" #include "libavutil/opt.h" diff --git a/libavcodec/libvpxdec.c b/libavcodec/libvpxdec.c index f9b4c9f427..42d1b8ab1c 100644 --- a/libavcodec/libvpxdec.c +++ b/libavcodec/libvpxdec.c @@ -29,6 +29,7 @@ #include <vpx/vp8dx.h> #include "libavutil/common.h" +#include "libavutil/cpu.h" #include "libavutil/imgutils.h" #include "libavutil/intreadwrite.h" #include "avcodec.h" diff --git a/libavcodec/libvpxenc.c b/libavcodec/libvpxenc.c index a7de6b5321..0e50fbfd7c 100644 --- a/libavcodec/libvpxenc.c +++ b/libavcodec/libvpxenc.c @@ -38,6 +38,7 @@ #include "libavutil/avstring.h" #include "libavutil/base64.h" #include "libavutil/common.h" +#include "libavutil/cpu.h" #include "libavutil/internal.h" #include "libavutil/intreadwrite.h" #include "libavutil/mathematics.h" diff --git a/libavcodec/tests/aarch64/dct.c b/libavcodec/tests/aarch64/dct.c index 032a9638f6..9e477328d5 100644 --- a/libavcodec/tests/aarch64/dct.c +++ b/libavcodec/tests/aarch64/dct.c @@ -18,6 +18,7 @@ #include "config.h" +#include "libavutil/cpu.h" #include "libavcodec/aarch64/idct.h" static const struct algo fdct_tab_arch[] = { diff --git a/libavcodec/tests/arm/dct.c b/libavcodec/tests/arm/dct.c index 596d369a99..5f826e84df 100644 --- a/libavcodec/tests/arm/dct.c +++ b/libavcodec/tests/arm/dct.c @@ -18,6 +18,7 @@ #include "config.h" +#include "libavutil/cpu.h" #include "libavcodec/arm/idct.h" static const struct algo fdct_tab_arch[] = { diff --git a/libavcodec/tests/motion.c b/libavcodec/tests/motion.c index d89f9408c2..ef6e1ff309 100644 --- a/libavcodec/tests/motion.c +++ b/libavcodec/tests/motion.c @@ -29,6 +29,7 @@ #include "config.h" #include "libavcodec/me_cmp.h" +#include "libavutil/cpu.h" #include "libavutil/internal.h" #include "libavutil/lfg.h" #include "libavutil/mem.h" diff --git a/libavcodec/tests/ppc/dct.c b/libavcodec/tests/ppc/dct.c index d95db525af..e29dbb0aa3 100644 --- a/libavcodec/tests/ppc/dct.c +++ b/libavcodec/tests/ppc/dct.c @@ -18,6 +18,7 @@ #include "config.h" +#include "libavutil/cpu.h" #include "libavcodec/ppc/fdct.h" static const struct algo fdct_tab_arch[] = { diff --git a/libavcodec/tests/x86/dct.c b/libavcodec/tests/x86/dct.c index f5c238efc7..104a0f8e0c 100644 --- a/libavcodec/tests/x86/dct.c +++ b/libavcodec/tests/x86/dct.c @@ -18,6 +18,7 @@ #include "config.h" +#include "libavutil/cpu.h" #include "libavutil/mem_internal.h" #include "libavcodec/x86/fdct.h" |