Commit 913cb647 authored by Jean-Paul Saman's avatar Jean-Paul Saman

dvbpsi.c: Set a default i_table_id and i_extension

parent bc263984
...@@ -85,6 +85,9 @@ void *dvbpsi_decoder_new(dvbpsi_callback_gather_t pf_gather, ...@@ -85,6 +85,9 @@ void *dvbpsi_decoder_new(dvbpsi_callback_gather_t pf_gather,
if (p_decoder == NULL) if (p_decoder == NULL)
return NULL; return NULL;
p_decoder->i_table_id = 0xff;
p_decoder->i_extension = 0xffff;
memcpy(&p_decoder->i_magic[0], "psi", 3); memcpy(&p_decoder->i_magic[0], "psi", 3);
p_decoder->pf_gather = pf_gather; p_decoder->pf_gather = pf_gather;
p_decoder->pf_new = NULL; p_decoder->pf_new = NULL;
......
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