[MPlayer-dev-eng] [PATCH] Add DVB teletext support

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Nov 9 10:31:27 CET 2009


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;



More information about the MPlayer-dev-eng mailing list