On Sun, Nov 08, 2009 at 08:23:58PM +0100, Francesco Lavra wrote: > + if (type == 'd' && !d_dvdsub->demuxer->teletext) { > + tt_stream_props tsp; > + void *ptr; > + > + memset(&tsp, 0, sizeof(tsp)); > + ptr = &tsp; And actually I think you can shorten that whole thing to tt_stream_props tsp = {0}; void *ptr = &tsp;