[FFmpeg-devel] [PATCH 09/25] lavc/cbs_internal: clean up headers
Anton Khirnov
anton at khirnov.net
Fri May 21 21:00:40 EEST 2021
Include all required headers explicitly, avoid avcodec.h dependency.
---
libavcodec/cbs_internal.h | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/libavcodec/cbs_internal.h b/libavcodec/cbs_internal.h
index a392880036..f853086fa3 100644
--- a/libavcodec/cbs_internal.h
+++ b/libavcodec/cbs_internal.h
@@ -19,8 +19,13 @@
#ifndef AVCODEC_CBS_INTERNAL_H
#define AVCODEC_CBS_INTERNAL_H
-#include "avcodec.h"
+#include <stdint.h>
+
+#include "libavutil/buffer.h"
+#include "libavutil/log.h"
+
#include "cbs.h"
+#include "codec_id.h"
#include "get_bits.h"
#include "put_bits.h"
--
2.30.2
More information about the ffmpeg-devel
mailing list