Эх сурвалжийг харах

lavc/cbs_internal: clean up headers

Include all required headers explicitly, avoid avcodec.h dependency.
Anton Khirnov 4 жил өмнө
parent
commit
9dbdabe0e0

+ 6 - 1
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"