[FFmpeg-devel] [PATCH 24/25] lavc/mov_chan: avoid avcodec.h dependency

Anton Khirnov anton at khirnov.net
Fri May 21 21:00:55 EEST 2021


---
 libavformat/mov_chan.c | 2 +-
 libavformat/mov_chan.h | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/mov_chan.c b/libavformat/mov_chan.c
index 324dd5f913..4ec16f15c2 100644
--- a/libavformat/mov_chan.c
+++ b/libavformat/mov_chan.c
@@ -26,7 +26,7 @@
 #include <stdint.h>
 
 #include "libavutil/channel_layout.h"
-#include "libavcodec/avcodec.h"
+#include "libavcodec/codec_id.h"
 #include "mov_chan.h"
 
 /**
diff --git a/libavformat/mov_chan.h b/libavformat/mov_chan.h
index ca28345aef..978b8a3732 100644
--- a/libavformat/mov_chan.h
+++ b/libavformat/mov_chan.h
@@ -28,7 +28,7 @@
 
 #include <stdint.h>
 
-#include "libavcodec/avcodec.h"
+#include "libavcodec/codec_id.h"
 #include "avformat.h"
 
 /**
-- 
2.30.2



More information about the ffmpeg-devel mailing list