summaryrefslogtreecommitdiff
path: root/ext/timidity/gsttimidity.c
diff options
context:
space:
mode:
authorWim Taymans <wim.taymans@collabora.co.uk>2012-03-16 21:47:39 +0100
committerWim Taymans <wim.taymans@collabora.co.uk>2012-03-16 21:47:39 +0100
commitbc38bc27b7890170d36752a7aab27fbbc6817587 (patch)
treec1d0ac4e24aee1604e5a07f75183433fbc7f2e23 /ext/timidity/gsttimidity.c
parented82d408b1a011e00e7bd6b2253d017d5a62ae26 (diff)
don't pass random pointers to pull_range
Diffstat (limited to 'ext/timidity/gsttimidity.c')
-rw-r--r--ext/timidity/gsttimidity.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/timidity/gsttimidity.c b/ext/timidity/gsttimidity.c
index cbbcc0da1..51bad60b4 100644
--- a/ext/timidity/gsttimidity.c
+++ b/ext/timidity/gsttimidity.c
@@ -582,7 +582,7 @@ gst_timidity_loop (GstPad * sinkpad)
}
if (timidity->mididata_offset < timidity->mididata_size) {
- GstBuffer *buffer;
+ GstBuffer *buffer = NULL;
gint64 size;
GST_DEBUG_OBJECT (timidity, "loading song");