[FFmpeg-devel] [PATCH 15/19] avutil/integer: Don't include common.h

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Feb 15 19:43:03 EET 2022


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
 libavutil/integer.c | 4 +++-
 libavutil/integer.h | 2 +-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/libavutil/integer.c b/libavutil/integer.c
index 78e252fbde..b709c6d487 100644
--- a/libavutil/integer.c
+++ b/libavutil/integer.c
@@ -25,9 +25,11 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
-#include "common.h"
+#include <string.h>
+
 #include "integer.h"
 #include "avassert.h"
+#include "intmath.h"
 
 static const AVInteger zero_i;
 
diff --git a/libavutil/integer.h b/libavutil/integer.h
index 45f733c04c..2d9b5bb10f 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -29,7 +29,7 @@
 #define AVUTIL_INTEGER_H
 
 #include <stdint.h>
-#include "common.h"
+#include "attributes.h"
 
 #define AV_INTEGER_SIZE 8
 
-- 
2.32.0



More information about the ffmpeg-devel mailing list