On 12/16/2013 04:26 PM, Anton Khirnov wrote:
---
  libavresample/audio_mix.c |    2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavresample/audio_mix.c b/libavresample/audio_mix.c
index 211e3c9..8619c1a 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 ",

LGTM

-Justin

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to