[FFmpeg-cvslog] avutil/integer: Don't include common.h

Andreas Rheinhardt git at videolan.org
Thu Feb 24 14:28:54 EET 2022


ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Jul 23 18:44:36 2021 +0200| [2c2d76b50d7ca2ddf3faa396a94a762158128e2d] | committer: Andreas Rheinhardt

avutil/integer: Don't include common.h

Reviewed-by: Martin Storsjö <martin at martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=2c2d76b50d7ca2ddf3faa396a94a762158128e2d
---

 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
 



More information about the ffmpeg-cvslog mailing list