Browse Source

* mpeg/psi.h: Fix a major bug preventing multi-section tables to be updated.

master
Christophe Massiot 14 years ago
parent
commit
d2f0a96a78
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mpeg/psi.h

+ 1
- 1
mpeg/psi.h View File

@ -707,7 +707,7 @@ static inline bool psi_table_compare(uint8_t **pp_sections1,
if (i_last_section != psi_table_get_lastsection(pp_sections2))
return false;
for (i = 0; i < i_last_section; i++) {
for (i = 0; i <= i_last_section; i++) {
const uint8_t *p_section1 = psi_table_get_section(pp_sections1, i);
const uint8_t *p_section2 = psi_table_get_section(pp_sections2, i);
if (!psi_compare(p_section1, p_section2))

Loading…
Cancel
Save