projects
/
platform
/
upstream
/
gst-plugins-base.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa13715
)
this is what triggered olive's bug.
author
Thomas Vander Stichele
<thomas@apestaart.org>
Thu, 12 Sep 2002 16:13:08 +0000
(16:13 +0000)
committer
Thomas Vander Stichele
<thomas@apestaart.org>
Thu, 12 Sep 2002 16:13:08 +0000
(16:13 +0000)
Original commit message from CVS:
this is what triggered olive's bug.
guess this needs an event update ?
gst/volume/gstvolume.c
patch
|
blob
|
history
diff --git
a/gst/volume/gstvolume.c
b/gst/volume/gstvolume.c
index
d89dd95
..
dc3f0a2
100644
(file)
--- a/
gst/volume/gstvolume.c
+++ b/
gst/volume/gstvolume.c
@@
-308,7
+308,8
@@
volume_chain_int16 (GstPad *pad, GstBuffer *buf)
out_buf = gst_buffer_copy_on_write (buf);
- data = (gint16 *)GST_BUFFER_DATA(out_buf);
+ data = (gint16 *) GST_BUFFER_DATA (out_buf);
+ g_assert (data);
num_samples = GST_BUFFER_SIZE(out_buf)/sizeof(gint16);
GST_DPMAN_PREPROCESS(filter->dpman, num_samples, GST_BUFFER_TIMESTAMP(out_buf));
i = 0;