summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEdward Hervey <edward.hervey@collabora.co.uk>2011-01-06 13:15:17 +0100
committerEdward Hervey <edward.hervey@collabora.co.uk>2011-01-06 13:15:17 +0100
commit65ac3e727b1fde1c2d3c601b2777c2d1a1c569aa (patch)
treeadbd032dce1cb7f5e059c3087ad21320e10ef4bb
parentc849e854a8a55559d01d4afd34610f4914da5529 (diff)
rmdemux: Initialize return variable.
In the unlikely event that height is 0 (which is invalid) we would end up never setting the flow return.
-rw-r--r--gst/realmedia/rmdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/realmedia/rmdemux.c b/gst/realmedia/rmdemux.c
index cff8e3dd..e6b8ec6d 100644
--- a/gst/realmedia/rmdemux.c
+++ b/gst/realmedia/rmdemux.c
@@ -1918,7 +1918,7 @@ gst_rmdemux_stream_clear_cached_subpackets (GstRMDemux * rmdemux,
static GstFlowReturn
gst_rmdemux_descramble_audio (GstRMDemux * rmdemux, GstRMDemuxStream * stream)
{
- GstFlowReturn ret;
+ GstFlowReturn ret = GST_FLOW_ERROR;
GstBuffer *outbuf;
guint packet_size = stream->packet_size;
guint height = stream->subpackets->len;