[FFmpeg-cvslog] audio_mix: print (SKIP) instead of 0.0 for matrix columns removed along with output zeroing

Anton Khirnov git at videolan.org
Sat Jan 4 02:36:06 CET 2014


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Mon Dec 16 19:05:45 2013 +0100| [cc976a75dffa148d655b52604331679ff669e8a2] | committer: Anton Khirnov

audio_mix: print (SKIP) instead of 0.0 for matrix columns removed along with output zeroing

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=cc976a75dffa148d655b52604331679ff669e8a2
---

 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 ",



More information about the ffmpeg-cvslog mailing list