ATSC descriptors: cleanup and review

[email protected] (Jean-Paul Saman)
Newsgroups gmane.comp.video.videolan.libdvbpsi.devel
Message-ID <[email protected]>
libdvbpsi | branch: master | Jean-Paul Saman <[email protected]> | Tue Mar 20 11:04:58 2012 +0100| [24c07ff7d833d3931f8a72d4fa6ce91a31c410dc] | committer: Jean-Paul Saman

ATSC descriptors: cleanup and review

- remove excess parenthesis
- add boundary checks
- explicite allocation of struct members
  requires explicite release of struct members when freeing

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

 src/descriptors/dr_13.c |   24 +++++++++++-------------
 src/descriptors/dr_13.h |    4 ++--
 src/descriptors/dr_14.c |   27 +++++++++++++++------------
 src/descriptors/dr_14.h |    9 ++++-----
 src/descriptors/dr_62.c |   10 ++--------
 src/descriptors/dr_66.c |   17 +++++++----------
 src/descriptors/dr_66.h |    4 ++--
 src/descriptors/dr_73.c |   12 ++++--------
 src/descriptors/dr_76.c |   16 ++++++++--------
 src/descriptors/dr_83.c |   11 +++--------
 src/descriptors/dr_83.h |    2 +-
 11 files changed, 59 insertions(+), 77 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/libdvbpsi.git/?a=commitdiff;h=24c07ff7d833d3931f8a72d4fa6ce91a31c410dc
_______________________________________________
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.