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:
parent
c849e854a8
commit
65ac3e727b
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user