[FFmpeg-devel] [PATCH]Fix compilation with --disable-filter=buffer

Måns Rullgård mans
Sat May 22 14:52:14 CEST 2010


Carl Eugen Hoyos <cehoyos at ag.or.at> writes:

> M?ns Rullg?rd <mans <at> mansr.com> writes:
>
>> > -#if CONFIG_AVFILTER
>> > -        if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
> ist->input_video_filter) {
>> > +        if (ist->st->codec->codec_type == AVMEDIA_TYPE_VIDEO &&
>> > +            ist->input_video_filter &&
>> > +            CONFIG_BUFFER_FILTER) {
>
>> Does it work at all like this?
>
> Compilation? Yes.
> Transcoding? Probably not, but this is unrelated, imo.

We should never knowingly build tools that fail to work.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list