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

Clément Bœsch u at pkh.me
Sun Jul 30 11:25:02 EEST 2017


On Sun, Jul 30, 2017 at 04:34:16AM +0200, Michael Niedermayer wrote:
[...]
> > +    struct font_tag stack[16] = {0};
> 
> this seems to produce a compiler warning:
> 
> ./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. Changed locally with a memset 0 (and of
only the first element this time).

thanks

-- 
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170730/642a4808/attachment.sig>


More information about the ffmpeg-devel mailing list