Original commit message from CVS:
* gst/audioconvert/gstchannelmix.c:
(gst_channel_mix_fill_normalize):
Prevent division by zero if the channel mix matrix contains only
zeroes.
2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
+ * gst/audioconvert/gstchannelmix.c:
+ (gst_channel_mix_fill_normalize):
+ Prevent division by zero if the channel mix matrix contains only
+ zeroes.
+
+2008-05-21 Sebastian Dröge <slomo@circular-chaos.org>
+
Patch by: Antoine Tremblay <hexa00 at gmail dot com>
* gst/gdp/gstgdppay.c: (gst_gdp_pay_chain):
}
/* normalize to this */
+ if (top == 0.0)
+ return;
+
for (j = 0; j < this->out.channels; j++) {
for (i = 0; i < this->in.channels; i++) {
this->matrix[i][j] /= top;