[FFmpeg-devel] [PATCH 19/25] lavf/framecrcenc: avoid avcodec.h dependency

Anton Khirnov anton at khirnov.net
Fri May 21 21:00:50 EEST 2021


---
 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 <inttypes.h>
 
 #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"
 
-- 
2.30.2



More information about the ffmpeg-devel mailing list