From: Ronald S. Bultje Date: Mon, 23 May 2005 18:07:28 +0000 (+0000) Subject: gst-libs/gst/audio/gstringbuffer.c: This can't be good. X-Git-Tag: 1.19.3~511^2~13035 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a159660dfc09eb75351c2caef4d9937b8bfdcc53;p=platform%2Fupstream%2Fgstreamer.git gst-libs/gst/audio/gstringbuffer.c: This can't be good. Original commit message from CVS: * gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_clear): This can't be good. --- diff --git a/ChangeLog b/ChangeLog index 7baa485468..ac947371e4 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-05-23 Ronald S. Bultje + + * gst-libs/gst/audio/gstringbuffer.c: (gst_ringbuffer_clear): + This can't be good. + 2005-05-23 Ronald S. Bultje * gst/audioconvert/gstaudioconvert.c: (gst_audio_convert_init), diff --git a/gst-libs/gst/audio/gstringbuffer.c b/gst-libs/gst/audio/gstringbuffer.c index e39167940a..9b13a2031b 100644 --- a/gst-libs/gst/audio/gstringbuffer.c +++ b/gst-libs/gst/audio/gstringbuffer.c @@ -762,8 +762,9 @@ gst_ringbuffer_clear (GstRingBuffer * buf, gint segment) g_return_if_fail (buf->empty_seg != NULL); data = GST_BUFFER_DATA (buf->data); - data += (segment % buf->spec.segtotal) * buf->spec.segsize, - GST_DEBUG ("clear segment %d @%p", segment, data); + data += (segment % buf->spec.segtotal) * buf->spec.segsize; + + GST_DEBUG ("clear segment %d @%p", segment, data); memcpy (data, buf->empty_seg, buf->spec.segsize); }