Przeglądaj źródła

lavc/cbs_internal: clean up headers

Include all required headers explicitly, avoid avcodec.h dependency.
Anton Khirnov 4 lat temu
rodzic
commit
9dbdabe0e0
1 zmienionych plików z 6 dodań i 1 usunięć
  1. 6 1
      libavcodec/cbs_internal.h

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