[FFmpeg-devel] [PATCH] libavfilter/scale2ref: Add constants for the primary input

Kevin Mark kmark937 at gmail.com
Tue May 30 20:18:15 EEST 2017

On Tue, May 30, 2017 at 10:40 AM, Kevin Mark <kmark937 at gmail.com> wrote:
> +    const AVFilterLink *main;

Unfortunately that line results in a warning on GCC (but not LLVM):

libavfilter/scale.c: In function ‘ff_scale_eval_dimensions’:
libavfilter/scale.c:121:25: warning: ‘main’ is usually a function [-Wmain]
     const AVFilterLink *main;

An updated patch is on the way to address this.

More information about the ffmpeg-devel mailing list