demux: use new utility functions.

[email protected] (Jean-Paul Saman)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | 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
_______________________________________________
libdvbpsi-devel mailing list
[email protected]
http://mailman.videolan.org/listinfo/libdvbpsi-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.