[FFmpeg-devel] [PATCH 12/25] lavc/get_bits: avoid avcodec.h dependency
Anton Khirnov
anton at khirnov.net
Fri May 21 21:00:43 EEST 2021
Include only defs.h, needed for AV_INPUT_BUFFER_PADDING_SIZE.
---
libavcodec/get_bits.h | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavcodec/get_bits.h b/libavcodec/get_bits.h
index 66fb877599..d4e9276da1 100644
--- a/libavcodec/get_bits.h
+++ b/libavcodec/get_bits.h
@@ -33,7 +33,8 @@
#include "libavutil/intreadwrite.h"
#include "libavutil/log.h"
#include "libavutil/avassert.h"
-#include "avcodec.h"
+
+#include "defs.h"
#include "mathops.h"
#include "vlc.h"
--
2.30.2
More information about the ffmpeg-devel
mailing list