• Rafaël Carré's avatar
    libav*: move avformat/avcodec init to a single header file · c8030242
    Rafaël Carré authored
    Avoid repeating the same implementation several times:
     incorrectly (switcher and mux didn't lock)
     redundantly (avcodec_register_all can be called several times)
    Move libavXXX init at the top of a few functions, just in case.
    Check uses of vlc_avcodec_(un)lock and factorize
demux.c 32.7 KB