[libdvbpsi-devel] demux: use new utility functions.

Jean-Paul Saman git at videolan.org
Mon Jun 4 11:14:44 CEST 2012


libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | Mon Jun  4 11:06:16 2012 +0200| [2d3fb64a23dbd3d67b6b49b8e4b80aeeeb842ab3] | committer: Jean-Paul Saman

demux: use new utility functions.

Use new utility functions to replace common code blocks. Moving
code to demux.c instead of repeating them in the subtable functions.
This reduces the amount of code in subtable files and reduces the risk
of introducing errors in future for this code.

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

 src/tables/atsc_eit.c |   35 ++++++++++++-----------------------
 src/tables/atsc_ett.c |   36 +++++++++++++-----------------------
 src/tables/atsc_mgt.c |   40 ++++++++++++++--------------------------
 src/tables/atsc_stt.c |   42 +++++++++++++++++-------------------------
 src/tables/atsc_stt.h |    3 ++-
 src/tables/atsc_vct.c |   44 +++++++++++++++++---------------------------
 src/tables/bat.c      |   40 +++++++++++++++-------------------------
 src/tables/eit.c      |   40 +++++++++++++++-------------------------
 src/tables/nit.c      |   41 ++++++++++++++++-------------------------
 src/tables/sdt.c      |   45 ++++++++++++++++++---------------------------
 src/tables/sis.c      |   43 +++++++++++++------------------------------
 src/tables/tot.c      |   39 +++++++++++++--------------------------
 12 files changed, 165 insertions(+), 283 deletions(-)

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


More information about the libdvbpsi-devel mailing list