Fix compiler problems with gcc-2.96/RH-7.3
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 14 Mar 2003 21:08:30 +0000 (21:08 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Fri, 14 Mar 2003 21:08:30 +0000 (21:08 +0000)
Original commit message from CVS:
Fix compiler problems with gcc-2.96/RH-7.3

gst/law/alaw-encode.c

index 9d799ed..eb31fa0 100644 (file)
@@ -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);