[libdvbpsi-devel] [Git][videolan/libdvbpsi][master] Fix needing 3 sections instead of 2 to call EIT callback
Jean-Paul Saman (@jpsaman)
gitlab at videolan.org
Sun Aug 29 11:41:30 UTC 2021
Jean-Paul Saman pushed to branch master at VideoLAN / libdvbpsi
Commits:
d3792daa by Frederic Cand at 2021-08-12T10:42:59+02:00
Fix needing 3 sections instead of 2 to call EIT callback
- - - - -
1 changed file:
- src/tables/eit.c
Changes:
=====================================
src/tables/eit.c
=====================================
@@ -473,8 +473,6 @@ void dvbpsi_eit_sections_gather(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_sect
}
}
- bool b_complete = dvbpsi_IsCompleteEIT(p_eit_decoder, p_section);
-
/* Add section to EIT */
if (!dvbpsi_AddSectionEIT(p_dvbpsi, p_eit_decoder, p_section))
{
@@ -485,7 +483,7 @@ void dvbpsi_eit_sections_gather(dvbpsi_t *p_dvbpsi, dvbpsi_psi_section_t *p_sect
}
/* Check if we have all the sections */
- if (b_complete)
+ if (dvbpsi_IsCompleteEIT(p_eit_decoder, p_section))
{
assert(p_eit_decoder->pf_eit_callback);
View it on GitLab: https://code.videolan.org/videolan/libdvbpsi/-/commit/d3792daa31d61c71b248e3b1a0a63f7fb05a2380
--
View it on GitLab: https://code.videolan.org/videolan/libdvbpsi/-/commit/d3792daa31d61c71b248e3b1a0a63f7fb05a2380
You're receiving this email because of your account on code.videolan.org.
More information about the libdvbpsi-devel
mailing list