From f79d009b7cef17582805bcaa64134b9ae9eabb55 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 21 May 2021 19:16:10 +0200 Subject: [PATCH] lavf/framecrcenc: avoid avcodec.h dependency --- libavformat/framecrcenc.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c index c300702d55..56f7ea1b5a 100644 --- a/libavformat/framecrcenc.c +++ b/libavformat/framecrcenc.c @@ -22,7 +22,11 @@ #include #include "libavutil/adler32.h" -#include "libavcodec/avcodec.h" + +#include "libavcodec/codec_id.h" +#include "libavcodec/codec_par.h" +#include "libavcodec/packet.h" + #include "avformat.h" #include "internal.h"