aboutsummaryrefslogtreecommitdiffstats
path: root/src/tables/atsc_ett.c
diff options
context:
space:
mode:
authorBrad Bitterman <bitter@vtilt.com>2013-10-23 17:01:06 +0200
committerJean-Paul Saman <jpsaman@videolan.org>2013-11-05 08:58:26 +0100
commitcab777b7895636285c506a6ddc4715d774153d41 (patch)
tree1cd6b95de1624aad59cbffe565d1bc9f7e8daa6a /src/tables/atsc_ett.c
parent4a7ecfbf7027b23cf0e0183b7e8e3cec36db686b (diff)
ATSC: fix corruption of PSI tables
Various bugs were fixed that made ATSC tables not work optimally if at all. (cherry picked from commit efa69cd2b4237a54e3ad8d2fdfc948072dc96f41) Signed-off-by: Jean-Paul Saman <jpsaman@videolan.org>
Diffstat (limited to 'src/tables/atsc_ett.c')
-rw-r--r--src/tables/atsc_ett.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tables/atsc_ett.c b/src/tables/atsc_ett.c
index f013ebf..300007b 100644
--- a/src/tables/atsc_ett.c
+++ b/src/tables/atsc_ett.c
@@ -297,7 +297,7 @@ static bool dvbpsi_AddSectionETT(dvbpsi_t *p_dvbpsi, dvbpsi_atsc_ett_decoder_t *
p_section->p_payload_start[0],
i_etm_id,
p_section->b_current_next);
- if (p_decoder->p_building_ett)
+ if (!p_decoder->p_building_ett)
return false;
p_decoder->i_last_section_number = p_section->i_last_number;

Privacy Policy