Include only the headers that are actually needed. --- libavcodec/cbs.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavcodec/cbs.h b/libavcodec/cbs.h index 8b432393b8..509f76b9c6 100644 --- a/libavcodec/cbs.h +++ b/libavcodec/cbs.h @@ -24,7 +24,9 @@ #include "libavutil/buffer.h" -#include "avcodec.h" +#include "codec_id.h" +#include "codec_par.h" +#include "packet.h" /* -- 2.30.2 _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
