• Rémi Denis-Courmont's avatar
    fix seg'faulty sout_StreamChainDelete ordering · f9db0ea1
    Rémi Denis-Courmont authored
    We must delete from the head to the tail, the opposite of the creation
    order. This stems from the fact that an stream output object "sees" the
    next element, and may try to use it while being deleted.
    The crash was easily reproducible with:
    vlc --sout-keep --sout '#duplicate{dst=gather:std{mux=ts,dst=/dev/null}}' \
        -I oldrc -vv raw_es.mp2
stream_output.c 28.9 KB