[FFmpeg-cvslog] avutil/audio_fifo: Avoid avutil.h inclusion
Andreas Rheinhardt
git at videolan.org
Thu Feb 24 14:28:40 EET 2022
ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinhardt at outlook.com> | Fri Jul 23 11:13:56 2021 +0200| [99b5956af154547b3ff306041e951008bcb8ea98] | committer: Andreas Rheinhardt
avutil/audio_fifo: Avoid avutil.h inclusion
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=99b5956af154547b3ff306041e951008bcb8ea98
---
libavutil/audio_fifo.c | 7 +++++--
libavutil/audio_fifo.h | 2 +-
2 files changed, 6 insertions(+), 3 deletions(-)
diff --git a/libavutil/audio_fifo.c b/libavutil/audio_fifo.c
index b1355e55a0..f4103178ba 100644
--- a/libavutil/audio_fifo.c
+++ b/libavutil/audio_fifo.c
@@ -24,10 +24,13 @@
* Audio FIFO
*/
-#include "avutil.h"
+#include <limits.h>
+#include <stddef.h>
+
#include "audio_fifo.h"
-#include "common.h"
+#include "error.h"
#include "fifo.h"
+#include "macros.h"
#include "mem.h"
#include "samplefmt.h"
diff --git a/libavutil/audio_fifo.h b/libavutil/audio_fifo.h
index 9d570b04c0..d1e4c856dc 100644
--- a/libavutil/audio_fifo.h
+++ b/libavutil/audio_fifo.h
@@ -27,7 +27,7 @@
#ifndef AVUTIL_AUDIO_FIFO_H
#define AVUTIL_AUDIO_FIFO_H
-#include "avutil.h"
+#include "attributes.h"
#include "samplefmt.h"
/**
More information about the ffmpeg-cvslog
mailing list