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 /libavfilter | |
parent | cea34b91727370cb0c1eb76258518a9fc78f91fd (diff) |
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 'libavfilter')
-rw-r--r-- | libavfilter/dnn/dnn_backend_openvino.c | 1 | ||||
-rw-r--r-- | libavfilter/dnn/dnn_backend_tf.c | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/libavfilter/dnn/dnn_backend_openvino.c b/libavfilter/dnn/dnn_backend_openvino.c index f8d548feaf..8d23446296 100644 --- a/libavfilter/dnn/dnn_backend_openvino.c +++ b/libavfilter/dnn/dnn_backend_openvino.c @@ -27,6 +27,7 @@ #include "dnn_io_proc.h" #include "libavformat/avio.h" #include "libavutil/avassert.h" +#include "libavutil/cpu.h" #include "libavutil/opt.h" #include "libavutil/avstring.h" #include "libavutil/detection_bbox.h" diff --git a/libavfilter/dnn/dnn_backend_tf.c b/libavfilter/dnn/dnn_backend_tf.c index 1d4ca516c1..6443c2fd1d 100644 --- a/libavfilter/dnn/dnn_backend_tf.c +++ b/libavfilter/dnn/dnn_backend_tf.c @@ -30,6 +30,7 @@ #include "libavformat/avio.h" #include "libavutil/avassert.h" #include "libavutil/avstring.h" +#include "libavutil/cpu.h" #include "../internal.h" #include "dnn_backend_native_layer_pad.h" #include "dnn_backend_native_layer_maximum.h" |