diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c
index 211e3c93a9f28c3df7aad4e659f9b1c94202314e..8619c1a1cdec6bd4515985eb00e089a63ebed0da 100644
--- a/libavresample/audio_mix.c
+++ b/libavresample/audio_mix.c
@@ -729,7 +729,7 @@ int ff_audio_mix_set_matrix(AudioMix *am, const double *matrix, int stride)
         for (i = 0; i < am->in_channels; i++) {
             if (am->output_zero[o])
                 av_log(am->avr, AV_LOG_DEBUG, "  (ZERO)");
-            else if (am->input_skip[i] || am->output_skip[o])
+            else if (am->input_skip[i] || am->output_zero[i] || am->output_skip[o])
                 av_log(am->avr, AV_LOG_DEBUG, "  (SKIP)");
             else
                 av_log(am->avr, AV_LOG_DEBUG, "  %0.3f ",