summaryrefslogtreecommitdiff
path: root/libavutil/slicethread.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-06-12 22:10:11 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-22 12:59:07 +0200
commit69f120ead7fbec9a469a5c0950b2a44fbc89f7a0 (patch)
tree47263a143252a08c807a0a5f62936cb93e496f7c /libavutil/slicethread.c
parentcea34b91727370cb0c1eb76258518a9fc78f91fd (diff)
downloadffmpeg-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 'libavutil/slicethread.c')
-rw-r--r--libavutil/slicethread.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavutil/slicethread.c b/libavutil/slicethread.c
index dfbe551ef2..f928a5cf00 100644
--- a/libavutil/slicethread.c
+++ b/libavutil/slicethread.c
@@ -17,6 +17,7 @@
*/
#include <stdatomic.h>
+#include "cpu.h"
#include "slicethread.h"
#include "mem.h"
#include "thread.h"