[FFmpeg-devel] [PATCH] avcodec/mv30: fix warning: suggest braces around initialization of subobject [-Wmissing-braces]

Nicolas George george at nsup.org
Sat May 30 14:34:03 EEST 2020


lance.lmwang at gmail.com (12020-05-30):
> > -        int pfill[3][1] = { 0 };
> > +        int pfill[3][1] = { {0} };

> will apply it tomorow if no objection.

This warning is bogus, the code is valid and a common pattern in FFmpeg.
IIRC, we decided to keep it that way when it happens.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200530/2fbfc5c1/attachment.sig>


More information about the ffmpeg-devel mailing list