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:
b845ee8
)
fixed rather heinous bug in gst_buffer_copy
author
Erik Walthinsen
<omega@temple-baptist.org>
Fri, 25 May 2001 21:35:58 +0000
(21:35 +0000)
committer
Erik Walthinsen
<omega@temple-baptist.org>
Fri, 25 May 2001 21:35:58 +0000
(21:35 +0000)
Original commit message from CVS:
fixed rather heinous bug in gst_buffer_copy
gst/gstbuffer.c
patch
|
blob
|
history
diff --git
a/gst/gstbuffer.c
b/gst/gstbuffer.c
index
7a44084
..
59ebf44
100644
(file)
--- a/
gst/gstbuffer.c
+++ b/
gst/gstbuffer.c
@@
-450,7
+450,7
@@
gst_buffer_copy (GstBuffer *buffer)
// allocate space for the copy
newbuf->data = (guchar *)g_malloc (buffer->size);
// copy the data straight across
- memcpy(newbuf,buffer->data,buffer->size);
+ memcpy(newbuf
->data
,buffer->data,buffer->size);
// the new maxsize is the same as the size, since we just malloc'd it
newbuf->maxsize = newbuf->size;
}