[vlc-commits] xspf demux: merge header in C file

Rafaël Carré git at videolan.org
Mon Aug 8 01:58:30 CEST 2011


vlc | branch: master | Rafaël Carré <rafael.carre at gmail.com> | Sun Aug  7 19:53:40 2011 -0400| [f745f60c3334e8fb2e981c2026bffc91f6c5eb79] | committer: Rafaël Carré

xspf demux: merge header in C file

remove FREE_ATT, use do { ... } while(0) for FREE_VALUE
use static const tables for xml handlers
use their size to match handlers with tags
replace {SIMPLE,COMPLEX,UNKNOWN}_CONTENT with a bool

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

 modules/demux/playlist/Modules.am |    1 -
 modules/demux/playlist/xspf.c     |  175 +++++++++++++++++++++----------------
 modules/demux/playlist/xspf.h     |   61 -------------
 3 files changed, 100 insertions(+), 137 deletions(-)

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


More information about the vlc-commits mailing list