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
android
audio_output
config
darwin
extras
input
interface
misc
modules
network
os2
playlist
posix
stream_output
test
text
video_output
win32
.gitignore -rw-r--r-- 77 bytes
Makefile.am -rw-r--r-- 14.7 KB
check_headers -rwxr-xr-x 733 bytes
check_symbols -rwxr-xr-x 1.0 KB
libvlc-module.c -rw-r--r-- 117.5 KB
libvlc.c -rw-r--r-- 20.6 KB
libvlc.h -rw-r--r-- 6.4 KB
libvlc_win32_rc.rc.in -rw-r--r-- 897 bytes
libvlccore.sym -rw-r--r-- 13.3 KB
missing.c -rw-r--r-- 10.8 KB
version.c -rw-r--r-- 2.0 KB
vlc-plugin.pc.in -rw-r--r-- 612 bytes

back to top