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.
This commit is contained in:
Benjamin Otte 2003-03-24 04:06:08 +00:00
parent be5bc7e051
commit 51b189fe1e

View 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 += 1;
*linear_data += 1;
alaw_data++;
linear_data++;
}
gst_buffer_unref(buf);
gst_pad_push(alawenc->srcpad,outbuf);