Staging
v0.5.0
Revision d3f83dc83b52a8755f482f22dfa3ced58adbb3c8 authored by Filip Roséen on 04 March 2016, 16:04:18 UTC, committed by Jean-Baptiste Kempf on 05 March 2016, 21:21:10 UTC
`MkvTree` can be used all across the module, meaning that it better
belongs in `Util.hpp` than with static linkage in `matroska_segment_parse.cpp`.

 - A helper function `MkvTree_va` has been introduced so that one can
   easily call the function from functions that accepts a variadic
   number of arguments (using va_list).

 - The implementation has been optimized so that we do not need to
   allocate storage for the format string on every invocation if it
   would fit inside a fixed length buffer.

 - An error check has been added to signal if we run out of memory.

Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent 5fc6cd6
History
File Mode Size
autotools
bin
compat
contrib
doc
extras
include
lib
m4
modules
po
share
src
test
.gitattributes -rw-r--r-- 73 bytes
.gitignore -rw-r--r-- 452 bytes
.mailmap -rw-r--r-- 7.0 KB
AUTHORS -rw-r--r-- 15.3 KB
COPYING -rw-r--r-- 17.7 KB
COPYING.LIB -rw-r--r-- 25.9 KB
INSTALL -rw-r--r-- 1.5 KB
Makefile.am -rw-r--r-- 67.4 KB
NEWS -rw-r--r-- 161.6 KB
README -rw-r--r-- 2.7 KB
THANKS -rw-r--r-- 5.5 KB
bootstrap -rwxr-xr-x 1.8 KB
configure.ac -rw-r--r-- 126.2 KB
make-alias -rwxr-xr-x 299 bytes

README

back to top