• Luca Barbato's avatar
    cmdutils: wrap exit explicitly · 636ced8e
    Luca Barbato authored
    Some C runtime implementations deadlock when calling threading functions
    on the atexit() handler.
    
    Use a simpler wrapper similar to av_log to call the cleanup function
    before exit.
    
    Bug-Id: 523
    636ced8e
cmdutils.c 52.2 KB