<html><head></head><body><div class="gmail_quote">Le 11 août 2017 12:56:27 GMT+03:00, Steve Lhomme <robux4@videolabs.io> a écrit :<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
<pre class="k9mail">They are already memset() in vlc_custom_create().<br />That will avoid a warning on vd->manage<br />---<br /> src/video_output/display.c | 12 ------------<br /> 1 file changed, 12 deletions(-)<br /><br />diff --git a/src/video_output/display.c b/src/video_output/display.c<br />index c2499d3eb0..50a7845e90 100644<br />--- a/src/video_output/display.c<br />+++ b/src/video_output/display.c<br />@@ -90,19 +90,7 @@ static vout_display_t *vout_display_New(vlc_object_t *obj,<br /> vd->fmt.i_sar_num = 0;<br /> vd->fmt.i_sar_den = 0;<br /> <br />- vd->info.is_slow = false;<br />- vd->info.has_double_click = false;<br />- vd->info.needs_hide_mouse = false;<br />- vd->info.has_pictures_invalid = false;<br />- vd->info.subpicture_chromas = NULL;<br />-<br /> vd->cfg = cfg;<br />- vd->pool = NULL;<br />- vd->prepare = NULL;<br />- vd->display = NULL;<br />- vd->control = NULL;<br />- vd->manage = NULL;<br />- vd->sys = NULL;<br /> <br /> vd->owner = *owner;<br /> </pre></blockquote></div><br clear="all">ISO does not warrant that zeroes represent NULL pointers, only zero integers, false booleans and if adequate macro is predefined, zero floating and complex numbers, though.<br>
<br>
As regards deprecated stuff, we could try something like libav - only setting the attribute outside LibVLC core.<br>
-- <br>
Rémi Denis-Courmont<br>
Typed on an inconvenient virtual keyboard</body></html>