• Luca Barbato's avatar
    segment: Fix the failure paths · b3f04657
    Luca Barbato authored
    A failure in segment_end() or segment_start() would lead to freeing
    a dangling pointer and in general further calls to seg_write_packet()
    or to seg_write_trailer() would have the same faulty behaviour.
    
    CC: libav-stable@libav.org
    Reported-By: luodalongde@gmail.com
    b3f04657
segment.c 12.3 KB