Commit 551b670f authored by Francois Cartegnie's avatar Francois Cartegnie

demux: ts: fix uninitialized fields with teletext es

parent 1dec820c
......@@ -4390,7 +4390,7 @@ static void PMTSetupEsTeletext( demux_t *p_demux, ts_pes_t *p_pes,
}
else
{
p_page_es = malloc( sizeof(*p_page_es) );
p_page_es = calloc( 1, sizeof(*p_page_es) );
if( !p_page_es )
break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment