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
History
File Mode Size
libvlc
lirc
skins
subtitles
.gitignore -rw-r--r-- 38 bytes
Doxyfile.in -rw-r--r-- 101.9 KB
Doxyfile.skins2 -rw-r--r-- 36.7 KB
Makefile.am -rw-r--r-- 1.7 KB
browsing.txt -rw-r--r-- 1.7 KB
demo.sh -rwxr-xr-x 3.4 KB
doc_helper.sh -rwxr-xr-x 319 bytes
fortunes.txt -rw-r--r-- 32.1 KB
release-howto.txt -rw-r--r-- 4.0 KB
strings.txt -rw-r--r-- 136 bytes
transforms.py -rw-r--r-- 40.0 KB
translations.txt -rw-r--r-- 90 bytes
vlc-wrapper.1 -rw-r--r-- 1.3 KB
vlc.1 -rw-r--r-- 3.2 KB
vlm.txt -rw-r--r-- 7.8 KB

back to top