[FFmpeg-devel] [PATCH]configure: Add -Wno-main

James Almer jamrial at gmail.com
Sat Oct 7 17:04:24 EEST 2017


On 10/7/2017 11:02 AM, Carl Eugen Hoyos wrote:
> One possibility attached.
> 
> Please comment, Carl Eugen
> 
> 
> 0001-lavfi-Rename-local-variables-main-as-master.patch
> 
> 
> From 0876a93917c8fe06a3d9b748c39e4f643c2ecd02 Mon Sep 17 00:00:00 2001
> From: Carl Eugen Hoyos <ceffmpeg at gmail.com>
> Date: Sat, 7 Oct 2017 15:59:22 +0200
> Subject: [PATCH] lavfi: Rename local variables "main" as "master".
> 
> Silences several warnings:
> main is usually a function
> ---
>  libavfilter/vf_lut3d.c      |    8 ++++----
>  libavfilter/vf_paletteuse.c |   10 +++++-----
>  libavfilter/vf_psnr.c       |   14 +++++++-------
>  libavfilter/vf_ssim.c       |   12 ++++++------
>  4 files changed, 22 insertions(+), 22 deletions(-)

LGTM


More information about the ffmpeg-devel mailing list