aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2021-07-23 11:31:02 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-02-24 12:56:49 +0100
commit0a1a8fcd56bf62da0d4b32da3e915860ba96684e (patch)
tree9e384464f9e1129296afc0c7026d850424c6bc67 /libavutil
parent99b5956af154547b3ff306041e951008bcb8ea98 (diff)
downloadffmpeg-0a1a8fcd56bf62da0d4b32da3e915860ba96684e.tar.gz
avutil/fifo: 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/fifo.c5
-rw-r--r--libavutil/fifo.h4
-rw-r--r--libavutil/threadmessage.c2
3 files changed, 9 insertions, 2 deletions
diff --git a/libavutil/fifo.c b/libavutil/fifo.c
index 09c984143f..51a5af6f39 100644
--- a/libavutil/fifo.c
+++ b/libavutil/fifo.c
@@ -21,10 +21,13 @@
*/
#include <stdint.h>
+#include <string.h>
#include "avassert.h"
-#include "common.h"
+#include "error.h"
#include "fifo.h"
+#include "macros.h"
+#include "mem.h"
// by default the FIFO can be auto-grown to 1MB
#define AUTO_GROW_DEFAULT_BYTES (1024 * 1024)
diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index 4eb2ce42f8..4eed364afc 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -24,9 +24,11 @@
#ifndef AVUTIL_FIFO_H
#define AVUTIL_FIFO_H
+#include <stddef.h>
#include <stdint.h>
-#include "avutil.h"
+
#include "attributes.h"
+#include "version.h"
typedef struct AVFifo AVFifo;
diff --git a/libavutil/threadmessage.c b/libavutil/threadmessage.c
index 6f25da76d7..f0e23f28fc 100644
--- a/libavutil/threadmessage.c
+++ b/libavutil/threadmessage.c
@@ -18,7 +18,9 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#include <limits.h>
#include "fifo.h"
+#include "mem.h"
#include "threadmessage.h"
#include "thread.h"