• Anton Khirnov's avatar
    audio_mix: fix zeroing output channels in certain cases · fc6a3ef4
    Anton Khirnov authored
    Specifically, when the corresponding input channel exists and its matrix
    column is all-zero (which is necessary for zeroing the output), the
    matrix column must be removed from the matrix.
    
    This is not done currently, so the mixing code would end up using
    uninitialized pointers from stack.
    
    Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
    fc6a3ef4