mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-29 18:48:44 +00:00
qtdemux: Remove useless return variable
qtdemux_expose_streams() returns flow error immediately, if there is an error. So, the variable for the flow return is not needed. https://bugzilla.gnome.org/show_bug.cgi?id=774674
This commit is contained in:
parent
2ad30254c3
commit
7d2a07076e
1 changed files with 2 additions and 3 deletions
|
@ -11377,13 +11377,12 @@ static GstFlowReturn
|
|||
qtdemux_expose_streams (GstQTDemux * qtdemux)
|
||||
{
|
||||
gint i;
|
||||
GstFlowReturn ret = GST_FLOW_OK;
|
||||
GSList *oldpads = NULL;
|
||||
GSList *iter;
|
||||
|
||||
GST_DEBUG_OBJECT (qtdemux, "exposing streams");
|
||||
|
||||
for (i = 0; ret == GST_FLOW_OK && i < qtdemux->n_streams; i++) {
|
||||
for (i = 0; i < qtdemux->n_streams; i++) {
|
||||
QtDemuxStream *stream = qtdemux->streams[i];
|
||||
GstPad *oldpad = stream->pad;
|
||||
GstTagList *list;
|
||||
|
@ -11450,7 +11449,7 @@ qtdemux_expose_streams (GstQTDemux * qtdemux)
|
|||
}
|
||||
|
||||
qtdemux->exposed = TRUE;
|
||||
return ret;
|
||||
return GST_FLOW_OK;
|
||||
}
|
||||
|
||||
/* check if major or compatible brand is 3GP */
|
||||
|
|
Loading…
Reference in a new issue