diff options
Diffstat (limited to 'gst')
-rw-r--r-- | gst/speexresample/gstspeexresample.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gst/speexresample/gstspeexresample.c b/gst/speexresample/gstspeexresample.c index 798e0c6f..7d04257a 100644 --- a/gst/speexresample/gstspeexresample.c +++ b/gst/speexresample/gstspeexresample.c @@ -569,6 +569,8 @@ static void gst_speex_resample_convert_buffer (GstSpeexResample * resample, const guint8 * in, guint8 * out, guint len, gboolean inverse) { + len *= resample->channels; + if (inverse) { if (resample->width == 8 && !resample->fp) { gint8 *o = (gint8 *) out; |