• Anton Khirnov's avatar
    lavc: add avcodec_is_open(). · af08d9ae
    Anton Khirnov authored
    It allows to check whether an AVCodecContext is open in a documented
    way. Right now the undocumented way this check is done in lavf/lavc is
    by checking whether AVCodecContext.codec is NULL. However it's desirable
    to be able to set AVCodecContext.codec before avcodec_open2().
    af08d9ae
APIchanges 36.4 KB