James Almer (2018-10-27): > > Not sure what compiler was warning about these, but it's definitely > > incorrect for it to do so. Maybe an old gcc? Recent gcc should > > have this fixed - see > > <https://gcc.gnu.org/bugzilla/show_bug.cgi?id=53119>. > Clang seems to do it as well. See > http://ffmpeg.org/pipermail/ffmpeg-devel/2018-October/235632.html > > You could initialize it setting the three fields directly, or use a memset.
Or we could consider it's clang's responsibility to fix an incorrect warning. And possibly people who care about developing ffmpeg with clang to come up with a solution that does not make the code less readable and harder to maintain. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel