On Tue, Feb 11, 2014 at 07:46:41PM +0000, Derek Buitenhuis wrote:
> On 2/11/2014 7:37 PM, Diego Biurrun wrote:
> >> + memset(&x265pic_out, 0, sizeof(x265pic_out));
> >
> > x265_picture x265pic_out = { 0 };
>
> Causes additional compiler warnings with gcc and clang:
>
> /home/daemon404/dev/l/libav/libavcodec/libx265.c:173:34: warning: suggest
> braces around initialization of subobject [-Wmissing-braces]
> x265_picture x265pic_out = { 0 };
> ^
> {}
Try adding more {}-pairs, IME the warning goes away after a few rounds ;)
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel