rmdemux: Initialize return variable.

In the unlikely event that height is 0 (which is invalid) we would end up
never setting the flow return.
This commit is contained in:
Edward Hervey 2011-01-06 13:15:17 +01:00
parent c849e854a8
commit 65ac3e727b

View file

@ -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;