[FFmpeg-devel] [PATCH v1 1/2] avfilter/vf_subtitles: remove unneeded ifdef

lance.lmwang at gmail.com lance.lmwang at gmail.com
Mon Mar 30 13:52:32 EEST 2020


From: Limin Wang <lance.lmwang at gmail.com>

Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
---
 libavfilter/vf_subtitles.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/libavfilter/vf_subtitles.c b/libavfilter/vf_subtitles.c
index a3b4029af4..2f312b0ba8 100644
--- a/libavfilter/vf_subtitles.c
+++ b/libavfilter/vf_subtitles.c
@@ -30,10 +30,8 @@
 #include <ass/ass.h>
 
 #include "config.h"
-#if CONFIG_SUBTITLES_FILTER
-# include "libavcodec/avcodec.h"
-# include "libavformat/avformat.h"
-#endif
+#include "libavcodec/avcodec.h"
+#include "libavformat/avformat.h"
 #include "libavutil/avstring.h"
 #include "libavutil/imgutils.h"
 #include "libavutil/opt.h"
-- 
2.21.0



More information about the ffmpeg-devel mailing list