ffmpeg | branch: master | Anton Khirnov <an...@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"
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to