diff mbox series

[FFmpeg-devel,12/25] lavc/get_bits: avoid avcodec.h dependency

Message ID 20210521180056.17496-12-anton@khirnov.net
State Accepted
Commit c28823ff97f3281698a2cc7e7a6df5d168c68d50
Headers show
Series [FFmpeg-devel,01/25] lavc: move small misc definitions into a separate header | expand

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Anton Khirnov May 21, 2021, 6 p.m. UTC
Include only defs.h, needed for AV_INPUT_BUFFER_PADDING_SIZE.
---
 libavcodec/get_bits.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

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"