mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-10 03:19:40 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue