[FFmpeg-devel] [PATCH 13/16] lavfi/vf_psnr: convert to framesync2.

Nicolas George george at nsup.org
Tue Aug 29 18:19:45 EEST 2017

Le duodi 12 fructidor, an CCXXV, Paul B Mahol a écrit :
> Now I get stupid and useless:
> libavfilter/vf_psnr.c: In function ***do_psnr***:
> libavfilter/vf_psnr.c:149:14: warning: ***main*** is usually a function [-Wmain]
>      AVFrame *main, *ref;

I noticed them; there are a few others. Changing them belonged in a
separate patch, and I did not want to clutter the patch series with

I will change them all in lavfi if we consider this is worth fixing, bit
personally I consider gcc is wrong to report this as a warning.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170829/34695ab7/attachment.sig>

More information about the ffmpeg-devel mailing list