From 99bc9dd63d099178d3597ded1f3f4aac0c429bfa Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 14 Mar 2003 21:08:30 +0000 Subject: Fix compiler problems with gcc-2.96/RH-7.3 Original commit message from CVS: Fix compiler problems with gcc-2.96/RH-7.3 --- 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 9d799ed0..eb31fa04 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++; - *linear_data++; + *alaw_data += 1; + *linear_data += 1; } gst_buffer_unref(buf); gst_pad_push(alawenc->srcpad,outbuf); -- cgit