[vlc-commits] Use module_get_object() where appropriate and improve error handling

Rémi Denis-Courmont git at videolan.org
Mon Aug 15 19:45:24 CEST 2011


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Aug 15 19:03:16 2011 +0300| [b4f67e4019828d6fd88bc158ba7a19c2e677e77c] | committer: Rémi Denis-Courmont

Use module_get_object() where appropriate and improve error handling

Use NULL rather than a static string as the default.
module_get_object() deals with this situation.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b4f67e4019828d6fd88bc158ba7a19c2e677e77c
---

 src/config/file.c     |   13 ++++++++-----
 src/libvlc.c          |   24 ++++++++++++------------
 src/modules/cache.c   |   11 +++++------
 src/modules/entry.c   |   19 +++++++++----------
 src/modules/modules.c |   32 +++++++++++++++++---------------
 src/modules/modules.h |    2 +-
 6 files changed, 52 insertions(+), 49 deletions(-)

Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=b4f67e4019828d6fd88bc158ba7a19c2e677e77c


More information about the vlc-commits mailing list