aboutsummaryrefslogtreecommitdiffstats
path: root/src/tables/atsc_stt.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tables/atsc_stt.c')
-rw-r--r--src/tables/atsc_stt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tables/atsc_stt.c b/src/tables/atsc_stt.c
index ad7fa6c..c3f23cb 100644
--- a/src/tables/atsc_stt.c
+++ b/src/tables/atsc_stt.c
@@ -288,7 +288,7 @@ static bool dvbpsi_AddSectionSTT(dvbpsi_t *p_dvbpsi, dvbpsi_atsc_stt_decoder_t *
{
p_decoder->p_building_stt = dvbpsi_atsc_NewSTT(p_section->i_table_id, p_section->i_extension,
p_section->i_version, p_section->b_current_next);
- if (p_decoder->p_building_stt)
+ if (!p_decoder->p_building_stt)
return false;
p_decoder->i_last_section_number = p_section->i_last_number;

Privacy Policy