[FFmpeg-cvslog] lavc/cbs_internal: clean up headers
Anton Khirnov
git at videolan.org
Thu Jun 10 17:56:12 EEST 2021
ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Tue Mar 2 10:57:46 2021 +0100| [9dbdabe0e0526a4ab7d9e2d2175679c741d19069] | committer: Anton Khirnov
lavc/cbs_internal: clean up headers
Include all required headers explicitly, avoid avcodec.h dependency.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9dbdabe0e0526a4ab7d9e2d2175679c741d19069
---
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"
More information about the ffmpeg-cvslog
mailing list