summaryrefslogtreecommitdiffstats
path: root/gst/law
diff options
context:
space:
mode:
authorBenjamin Otte <otte@gnome.org>2003-03-24 04:06:08 +0000
committerBenjamin Otte <otte@gnome.org>2003-03-24 04:06:08 +0000
commit51b189fe1e53eb980f23a34aa8b028c912bdb589 (patch)
treeff9de8605b286de41455e0e7f053204a1b492ad0 /gst/law
parentbe5bc7e05162f97dd89e7333d7ee2da245a771db (diff)
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.
Diffstat (limited to 'gst/law')
-rw-r--r--gst/law/alaw-encode.c4
1 files changed, 2 insertions, 2 deletions
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);