From 239b7d2e40777b016ab3e365d489646fe1e28ac9 Mon Sep 17 00:00:00 2001 From: Anton Khirnov Date: Fri, 21 May 2021 19:16:10 +0200 Subject: [PATCH] lavf/adtsenc: avoid avcodec.h dependency --- 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"