[vlc-commits] mkv: Use EbmTypeDispatcher in	`matroska_segment_c::{ParseTrackEntry, ParseTracks}`
    Filip Roséen 
    git at videolan.org
       
    Tue Mar  8 17:52:09 CET 2016
    
    
  
vlc | branch: master | Filip Roséen <filip at videolabs.io> | Tue Mar  8 15:11:54 2016 +0100| [0503738098d7585573cd2fb0710af2804bc387fa] | committer: Jean-Baptiste Kempf
mkv: Use EbmTypeDispatcher in `matroska_segment_c::{ParseTrackEntry, ParseTracks}`
Introduced `EbmlTypeDispatcher` to the functions in question, making
them more readable (as well as faster). This commit is a very good
example of how the new header `Ebml_dispatcher.hpp` allows for better
and faster code.
Also removed some legacy code that has been disabled due to, by
matroska, deprecated types.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0503738098d7585573cd2fb0710af2804bc387fa
---
 modules/demux/mkv/matroska_segment_parse.cpp |  654 +++++++++++---------------
 1 file changed, 285 insertions(+), 369 deletions(-)
Diff:   http://git.videolan.org/gitweb.cgi/vlc.git/?a=commitdiff;h=0503738098d7585573cd2fb0710af2804bc387fa
    
    
More information about the vlc-commits
mailing list