From c28823ff97f3281698a2cc7e7a6df5d168c68d50 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 21 May 2021 18:22:03 +0200 Subject: [PATCH] lavc/get_bits: avoid avcodec.h dependency 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"