[FFmpeg-devel] [PATCH 18/25] lavf/adtsenc: avoid avcodec.h dependency
Anton Khirnov
anton at khirnov.net
Fri May 21 21:00:49 EEST 2021
---
libavformat/adtsenc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/adtsenc.c b/libavformat/adtsenc.c
index 96caf9950e..ba15c0a724 100644
--- a/libavformat/adtsenc.c
+++ b/libavformat/adtsenc.c
@@ -22,7 +22,9 @@
#include "libavcodec/get_bits.h"
#include "libavcodec/put_bits.h"
-#include "libavcodec/avcodec.h"
+#include "libavcodec/codec_id.h"
+#include "libavcodec/codec_par.h"
+#include "libavcodec/packet.h"
#include "libavcodec/mpeg4audio.h"
#include "libavutil/opt.h"
#include "avformat.h"
--
2.30.2
More information about the ffmpeg-devel
mailing list