• Stefan Westerfeld's avatar
    Fix segmentation fault caused by hls-prepare for some files. · 8e02e55c
    Stefan Westerfeld authored
    As discussed in github issue #11, some input files cause segmentation
    faults during hls-prepare. In these cases the reason is that we access
    data after the end of the audio master file vector.
    
    This commit fixes the problem by appending zeros if the audio master is
    too short to provide the context for a segment. This also allows us to
    unconditionally using 3 seconds of context after every segment (even
    after the last segment).
    Signed-off-by: Stefan Westerfeld's avatarStefan Westerfeld <stefan@space.twc.de>
    8e02e55c
Name
Last commit
Last update
src Loading commit data...
.dockerignore Loading commit data...
.gitignore Loading commit data...
COPYING Loading commit data...
Dockerfile Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README.adoc Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...