[vlc-devel] [PATCH] Fixed warnings on missed struct fields initializers

Maxim Bublis b at codemonkey.ru
Mon Dec 2 13:15:38 CET 2013


> > -    AVPacket packet = {0};
> > +    AVPacket packet;
>
> This is clearly wrong. I am not sure what François was trying to express,
> but with your patch, packet is uninitialized, which is clearly wrong.
>
> In other words, please test your patches.


There is no need in AVPacket struct initializers because of the following
av_packet_init (&packet) call

-- 
Maxim Bublis
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20131202/460751af/attachment.html>


More information about the vlc-devel mailing list