[libdvbpsi-devel] Replace p_decoder->ap_sections[256] array with a linked list.

Jean-Paul Saman git at videolan.org
Mon Aug 13 13:36:40 CEST 2012


libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Mon Aug 13 13:34:02 2012 +0200| [57c6cd6360106fe6ca9738d2fc52a2a87ad276cb] | committer: Jean-Paul Saman

Replace p_decoder->ap_sections[256] array with a linked list.

The member p_decoder->ap_sections[256] is replaced by p_decoder->p_sections.
This is a pointer to a linked list, which makes the dvbpsi_decoder_section_chain()
function obsolete.

> http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commit;h=57c6cd6360106fe6ca9738d2fc52a2a87ad276cb
---

 src/dvbpsi.c          |   87 ++++++++++++++++++++++++++-----------------------
 src/dvbpsi.h          |   23 ++++---------
 src/tables/atsc_eit.c |   10 +++---
 src/tables/atsc_ett.c |   10 +++---
 src/tables/atsc_mgt.c |   10 +++---
 src/tables/atsc_stt.c |   11 +++----
 src/tables/atsc_vct.c |   11 +++----
 src/tables/bat.c      |   10 +++---
 src/tables/cat.c      |   10 +++---
 src/tables/eit.c      |   32 ++++++++----------
 src/tables/nit.c      |   11 +++----
 src/tables/pat.c      |   11 +++----
 src/tables/pmt.c      |   10 +++---
 src/tables/rst.c      |   10 +++---
 src/tables/sdt.c      |   10 +++---
 src/tables/sis.c      |   10 +++---
 src/tables/tot.c      |   11 +++----
 17 files changed, 123 insertions(+), 164 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commitdiff;h=57c6cd6360106fe6ca9738d2fc52a2a87ad276cb


More information about the libdvbpsi-devel mailing list