[FFmpeg-cvslog] lavc/get_bits: avoid avcodec.h dependency

Anton Khirnov git at videolan.org
Thu Jun 10 17:56:20 EEST 2021


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri May 21 18:22:03 2021 +0200| [c28823ff97f3281698a2cc7e7a6df5d168c68d50] | committer: Anton Khirnov

lavc/get_bits: avoid avcodec.h dependency

Include only defs.h, needed for AV_INPUT_BUFFER_PADDING_SIZE.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c28823ff97f3281698a2cc7e7a6df5d168c68d50
---

 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"
 



More information about the ffmpeg-cvslog mailing list