[FFmpeg-cvslog] lavf/framecrcenc: avoid avcodec.h dependency

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


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri May 21 19:16:10 2021 +0200| [f79d009b7cef17582805bcaa64134b9ae9eabb55] | committer: Anton Khirnov

lavf/framecrcenc: avoid avcodec.h dependency

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

 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"
 



More information about the ffmpeg-cvslog mailing list