diff options
author | Erik Walthinsen <omega@temple-baptist.org> | 2001-05-25 21:00:07 +0000 |
---|---|---|
committer | Erik Walthinsen <omega@temple-baptist.org> | 2001-05-25 21:00:07 +0000 |
commit | 4a583683e5cdf35d6f059952cbae4416120f8749 (patch) | |
tree | ae6079f992bebb3fb51ac8b97f2a16d8ea0ef64c /gst/gstbuffer.c | |
parent | 54271eca8ec659e79199f587de00fcbff0dea826 (diff) |
Merged from INCSCHED on 200505251!!!INCSCHED1-200105251
Original commit message from CVS:
Merged from INCSCHED on 200505251!!!
Diffstat (limited to 'gst/gstbuffer.c')
-rw-r--r-- | gst/gstbuffer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstbuffer.c b/gst/gstbuffer.c index 23f68e73a..7a44084ca 100644 --- a/gst/gstbuffer.c +++ b/gst/gstbuffer.c @@ -448,7 +448,7 @@ gst_buffer_copy (GstBuffer *buffer) // copy the absolute size newbuf->size = buffer->size; // allocate space for the copy - newbuf->data = (guchar *)g_malloc (buffer->data); + newbuf->data = (guchar *)g_malloc (buffer->size); // copy the data straight across memcpy(newbuf,buffer->data,buffer->size); // the new maxsize is the same as the size, since we just malloc'd it |