From 51b189fe1e53eb980f23a34aa8b028c912bdb589 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 24 Mar 2003 04:06:08 +0000 Subject: I bet you didn't try if the fix worked, BBB ;) Original commit message from CVS: I bet you didn't try if the fix worked, BBB ;) Fixed it the right way now. --- gst/law/alaw-encode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gst/law/alaw-encode.c') diff --git a/gst/law/alaw-encode.c b/gst/law/alaw-encode.c index eb31fa04..cff93c51 100644 --- a/gst/law/alaw-encode.c +++ b/gst/law/alaw-encode.c @@ -212,8 +212,8 @@ gst_alawenc_chain (GstPad *pad,GstBuffer *buf) alaw_data = (guint8*)GST_BUFFER_DATA(outbuf); for (i = 0; i < GST_BUFFER_SIZE(outbuf); i++) { *alaw_data = s16_to_alaw (*linear_data); - *alaw_data += 1; - *linear_data += 1; + alaw_data++; + linear_data++; } gst_buffer_unref(buf); gst_pad_push(alawenc->srcpad,outbuf); -- cgit