[libdvbpsi-devel] ATSC descriptors: cleanup and review
Jean-Paul Saman
git at videolan.org
Wed May 30 16:17:51 CEST 2012
libdvbpsi | branch: master | Jean-Paul Saman <jean-paul.saman at m2x.nl> | 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
More information about the libdvbpsi-devel
mailing list