projects
/
platform
/
upstream
/
gstreamer.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
474a80c
)
fixed stupid bug in buffer_span()
author
Erik Walthinsen
<omega@temple-baptist.org>
Sat, 11 Aug 2001 22:04:48 +0000
(22:04 +0000)
committer
Erik Walthinsen
<omega@temple-baptist.org>
Sat, 11 Aug 2001 22:04:48 +0000
(22:04 +0000)
Original commit message from CVS:
fixed stupid bug in buffer_span()
gst/gstbuffer.c
patch
|
blob
|
history
diff --git
a/gst/gstbuffer.c
b/gst/gstbuffer.c
index
d1f943d
..
4e889b6
100644
(file)
--- a/
gst/gstbuffer.c
+++ b/
gst/gstbuffer.c
@@
-403,7
+403,7
@@
gst_buffer_span (GstBuffer *buf1, guint32 offset, GstBuffer *buf2, guint32 len)
// allocate space for the copy
newbuf->data = (guchar *)g_malloc(len);
// copy the first buffer's data across
- memcpy(newbuf->data, buf
fer
->data + offset, buf1->size - offset);
+ memcpy(newbuf->data, buf
1
->data + offset, buf1->size - offset);
// copy the second buffer's data across
memcpy(newbuf->data + offset, buf2->data, len - (buf1->size - offset));