[FFmpeg-devel] [PATCH v1 1/2] avfilter/vf_subtitles: remove unneeded ifdef
Andreas Rheinhardt
andreas.rheinhardt at gmail.com
Sun May 3 16:35:19 EEST 2020
lance.lmwang at gmail.com:
> On Mon, Mar 30, 2020 at 06:52:32PM +0800, lance.lmwang at gmail.com wrote:
>> 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
>>
>
> ping
>
Why is this supposed to be unneeded? This file contains two filters: The
subtitles and the ass filter, so it is possible for this file to be
compiled if the subtitles filter is disabled.
- Andreas
More information about the ffmpeg-devel
mailing list