Revision 553febf4d8d473b7849eda2735ea77bbcb4f7c80 authored by Filip Roséen on 20 February 2016, 21:41:07 UTC, committed by Jean-Baptiste Kempf on 05 March 2016, 21:15:12 UTC
Manually managing memory comes at a cost of both maintainability (in terms of safety) and performance, as such I have replaced `p_indexes` with a `std::vector` with equivalent functionality. Three helper member-functions have been introduced in order to clean up the usage of the functionality, as well as removal of two now obsolete member-variables. A `typedef` has also been introduced to aid future development. The changes in `mkv.cpp` are due to the fact that it needs access to the indexes present in `matroska_segment_c`; this should be refactored away in the future. Also fixed a bug where you would access index out of bounds if there are no known indexes. Signed-off-by: Jean-Baptiste Kempf <jb@videolan.org>
1 parent 881299b
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 |
Computing file changes ...