[bTSstream-devel] [Git][videolan/bitstream][master] dvb/si/sdt: fix consistency check between sections

Christophe Massiot gitlab at videolan.org
Thu Jan 9 23:39:11 CET 2020



Christophe Massiot pushed to branch master at VideoLAN / bitstream


Commits:
e05f1899 by Christophe Massiot at 2020-01-09T23:38:13+01:00
dvb/si/sdt: fix consistency check between sections

Spotted by Dmitriy Novash.

- - - - -


1 changed file:

- dvb/si/sdt.h


Changes:

=====================================
dvb/si/sdt.h
=====================================
@@ -1,7 +1,7 @@
 /*****************************************************************************
  * sdt.h: ETSI EN 300 468 Service Definition Table (SDT)
  *****************************************************************************
- * Copyright (C) 2009-2010 VideoLAN
+ * Copyright (C) 2009-2020 VideoLAN
  *
  * Authors: Christophe Massiot <massiot at via.ecp.fr>
  *
@@ -238,7 +238,7 @@ static inline bool sdt_table_validate(uint8_t **pp_sections)
         if (!psi_check_crc(p_section))
             return false;
 
-        if (!j)
+        if (!i)
             i_onid = sdt_get_onid(p_section);
         else if (sdt_get_onid(p_section) != i_onid)
             return false;



View it on GitLab: https://code.videolan.org/videolan/bitstream/commit/e05f18997070453de0b9a0fc90e79cbd009fdf4a

-- 
View it on GitLab: https://code.videolan.org/videolan/bitstream/commit/e05f18997070453de0b9a0fc90e79cbd009fdf4a
You're receiving this email because of your account on code.videolan.org.




More information about the biTStream-devel mailing list