Commit b5114e9a authored by Jean-Paul Saman's avatar Jean-Paul Saman

PSI: be slightly more verbose when table_id does not match.

parent 37465c76
...@@ -105,8 +105,8 @@ bool dvbpsi_CheckPSISection(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_section, ...@@ -105,8 +105,8 @@ bool dvbpsi_CheckPSISection(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_section,
{ {
/* Invalid table_id value */ /* Invalid table_id value */
dvbpsi_error(p_dvbpsi, psz_table_name, dvbpsi_error(p_dvbpsi, psz_table_name,
"invalid section (table_id == 0x%02x)", "invalid section (table_id == 0x%02x expected 0x%02x)",
p_section->i_table_id); p_section->i_table_id, table_id);
goto error; goto error;
} }
......
...@@ -313,8 +313,8 @@ static bool dvbpsi_rst_section_check(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p ...@@ -313,8 +313,8 @@ static bool dvbpsi_rst_section_check(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p
{ {
/* Invalid table_id value */ /* Invalid table_id value */
dvbpsi_error(p_dvbpsi, psz_table_name, dvbpsi_error(p_dvbpsi, psz_table_name,
"invalid section (table_id == 0x%02x)", "invalid section (table_id == 0x%02x expected 0x%02)",
p_section->i_table_id); p_section->i_table_id, table_id);
goto error; goto error;
} }
......
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