[FFmpeg-devel] [PATCH 1/5] lavc/htmlsubtitles: improve handling broken garbage

Michael Niedermayer michael at niedermayer.cc
Sun Jul 30 13:19:17 EEST 2017


On Sun, Jul 30, 2017 at 10:31:40AM +0200, Nicolas George wrote:
> Le duodi 12 thermidor, an CCXXV, Clement Boesch a écrit :
> > > ./libavcodec/htmlsubtitles.c: In function ‘ff_htmlmarkup_to_ass’:
> > > ./libavcodec/htmlsubtitles.c:112:12: warning: missing braces around initializer [-Wmissing-braces]
> > Ah, I don't have that warning.
> 
> IIRC it is an obsolete warning that was removed in later versions of
> compilers.
> 
> I just checked, gcc-4.8 prints this warning but gcc-5 (5.4) does not.
> 

> I think we already have many similar constructs.

maybe but the compiler doesnt complain about them
i think the difference is the number of nested {}

[...]


-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

He who knows, does not speak. He who speaks, does not know. -- Lao Tsu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170730/4d8766b9/attachment.sig>


More information about the ffmpeg-devel mailing list