ffmpeg | branch: master | Anton Khirnov <an...@khirnov.net> | Fri May 21 
18:54:50 2021 +0200| [e67e02d15672a87da1b0566e197a1e19dc7e1e33] | committer: 
Anton Khirnov

lavf/avformat.h: drop the avcodec.h include

Since AVStream.codec is gone, avformat.h does not require anything from
avcodec.h.

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

 libavformat/avformat.h | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/libavformat/avformat.h b/libavformat/avformat.h
index 094683f12a..efe1f5823f 100644
--- a/libavformat/avformat.h
+++ b/libavformat/avformat.h
@@ -309,7 +309,12 @@
 
 #include <time.h>
 #include <stdio.h>  /* FILE */
-#include "libavcodec/avcodec.h"
+
+#include "libavcodec/codec.h"
+#include "libavcodec/codec_par.h"
+#include "libavcodec/defs.h"
+#include "libavcodec/packet.h"
+
 #include "libavutil/dict.h"
 #include "libavutil/log.h"
 

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to