[FFmpeg-devel] [PATCH 22/25] lavf/latmenc: avoid avcodec.h dependency
Anton Khirnov
anton at khirnov.net
Fri May 21 21:00:53 EEST 2021
---
libavformat/latmenc.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/libavformat/latmenc.c b/libavformat/latmenc.c
index 87a6b81798..21bb614f67 100644
--- a/libavformat/latmenc.c
+++ b/libavformat/latmenc.c
@@ -21,7 +21,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