diff options
author | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-16 21:46:47 +0100 |
---|---|---|
committer | Wim Taymans <wim.taymans@collabora.co.uk> | 2012-03-16 21:46:47 +0100 |
commit | dfb8e7cb2cdd78807f20e741b8965e5c4607b8e0 (patch) | |
tree | 18a310cea6857b6fd8dc3fcff731ab55ad5e42c4 /ext | |
parent | e13a7c76a74aa8f2f9d9c69581ad7cd792802107 (diff) | |
download | gstreamer-plugins-base-dfb8e7cb2cdd78807f20e741b8965e5c4607b8e0.tar.gz |
don't pass random pointers to pull_range
Diffstat (limited to 'ext')
-rw-r--r-- | ext/ogg/gstoggdemux.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/ogg/gstoggdemux.c b/ext/ogg/gstoggdemux.c index 4cbe0cc40..a2957b0b7 100644 --- a/ext/ogg/gstoggdemux.c +++ b/ext/ogg/gstoggdemux.c @@ -2183,7 +2183,7 @@ static GstFlowReturn gst_ogg_demux_get_data (GstOggDemux * ogg, gint64 end_offset) { GstFlowReturn ret; - GstBuffer *buffer; + GstBuffer *buffer = NULL; GST_LOG_OBJECT (ogg, "get data %" G_GINT64_FORMAT " %" G_GINT64_FORMAT " %" G_GINT64_FORMAT, @@ -4202,7 +4202,7 @@ static GstFlowReturn gst_ogg_demux_loop_forward (GstOggDemux * ogg) { GstFlowReturn ret; - GstBuffer *buffer; + GstBuffer *buffer = NULL; if (ogg->offset == ogg->length) { GST_LOG_OBJECT (ogg, "no more data to pull %" G_GINT64_FORMAT |