summaryrefslogtreecommitdiff
path: root/libavcodec/frame_thread_encoder.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 /libavcodec/frame_thread_encoder.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 'libavcodec/frame_thread_encoder.c')
-rw-r--r--libavcodec/frame_thread_encoder.c1
1 files changed, 1 insertions, 0 deletions
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"