mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
adaptivedemux: 'for' loop initial declaration
'for' loop initial declarations are only allowed in C89, moving the declaration to before the 'for' loop.
This commit is contained in:
parent
5985bc4b05
commit
6857048079
1 changed files with 3 additions and 2 deletions
|
@ -1983,8 +1983,9 @@ gst_adaptive_demux_stream_download_loop (GstAdaptiveDemuxStream * stream)
|
|||
/* query other pads as some faulty element in the pad's branch might
|
||||
* reject position queries. This should be better than using the
|
||||
* demux segment position that can be much ahead */
|
||||
for (GList * iter = demux->streams; iter != NULL;
|
||||
iter = g_list_next (iter)) {
|
||||
GList *iter;
|
||||
|
||||
for (iter = demux->streams; iter != NULL; iter = g_list_next (iter)) {
|
||||
GstAdaptiveDemuxStream *cur_stream =
|
||||
(GstAdaptiveDemuxStream *) iter->data;
|
||||
|
||||
|
|
Loading…
Reference in a new issue