[FFmpeg-devel] [PATCH 13/19] avutil/samplefmt: Don't include attributes.h, avutil.h
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Tue Feb 15 19:43:01 EET 2022
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
libavutil/samplefmt.c | 6 ++++--
libavutil/samplefmt.h | 3 ---
2 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavutil/samplefmt.c b/libavutil/samplefmt.c
index c7428940e1..6d3ec34dab 100644
--- a/libavutil/samplefmt.c
+++ b/libavutil/samplefmt.c
@@ -16,11 +16,13 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#include "common.h"
+#include "error.h"
+#include "macros.h"
+#include "mem.h"
#include "samplefmt.h"
+#include <limits.h>
#include <stdio.h>
-#include <stdlib.h>
#include <string.h>
typedef struct SampleFmtInfo {
diff --git a/libavutil/samplefmt.h b/libavutil/samplefmt.h
index f270199195..1999c9bca6 100644
--- a/libavutil/samplefmt.h
+++ b/libavutil/samplefmt.h
@@ -21,9 +21,6 @@
#include <stdint.h>
-#include "avutil.h"
-#include "attributes.h"
-
/**
* @addtogroup lavu_audio
* @{
--
2.32.0
More information about the ffmpeg-devel
mailing list