aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-31 15:12:33 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-24 12:56:49 +0100
commitb389ff9a8588d603215ce5714e6c17b4882c22d6 (patch)
tree77fb9393f46869ba5114cff5dcf9ae25d5adbc53 /libavutil
parent2c2d76b50d7ca2ddf3faa396a94a762158128e2d (diff)
downloadffmpeg-b389ff9a8588d603215ce5714e6c17b4882c22d6.tar.gz
avutil/display: Don't include avutil.h
Reviewed-by: Martin Storsjö <martin@martin.st> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/display.c1
-rw-r--r--libavutil/display.h1
-rw-r--r--libavutil/tests/display.c1
3 files changed, 2 insertions, 1 deletions
diff --git a/libavutil/display.c b/libavutil/display.c
index a0076e067b..d31061283c 100644
--- a/libavutil/display.c
+++ b/libavutil/display.c
@@ -23,6 +23,7 @@
#include <math.h>
#include "display.h"
+#include "libm.h"
#include "mathematics.h"
// fixed point to double
diff --git a/libavutil/display.h b/libavutil/display.h
index d87bf68425..31d8bef361 100644
--- a/libavutil/display.h
+++ b/libavutil/display.h
@@ -27,7 +27,6 @@
#define AVUTIL_DISPLAY_H
#include <stdint.h>
-#include "common.h"
/**
* @addtogroup lavu_video
diff --git a/libavutil/tests/display.c b/libavutil/tests/display.c
index 893ebb5543..19b07fc15f 100644
--- a/libavutil/tests/display.c
+++ b/libavutil/tests/display.c
@@ -18,6 +18,7 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <stdio.h>
#include "libavutil/display.c"
static void print_matrix(int32_t matrix[9])