[FFmpeg-devel] [PATCH] avcodec/mv30: fix warning: suggest braces around initialization of subobject [-Wmissing-braces]
lance.lmwang at gmail.com
lance.lmwang at gmail.com
Sat May 30 15:02:19 EEST 2020
On Sat, May 30, 2020 at 01:34:03PM +0200, Nicolas George wrote:
> 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.
Thanks for the explanation. It's difficult to know it's been discussed before.
>
> Regards,
>
> --
> Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
--
Thanks,
Limin Wang
More information about the ffmpeg-devel
mailing list