mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-24 08:08:22 +00:00
tests: rtpjitterbuffer: fix compiler warning due to c99-ism
rtpjitterbuffer.c:592:3: error: ‘for’ loop initial declarations are only allowed in C99 mode
This commit is contained in:
parent
bbe88b190b
commit
781b5ac781
1 changed files with 2 additions and 1 deletions
|
@ -542,6 +542,7 @@ construct_deterministic_initial_state (GstHarness * h, gint latency_ms)
|
|||
{
|
||||
guint next_seqnum = latency_ms / TEST_BUF_MS + 1;
|
||||
guint seqnum;
|
||||
gint i;
|
||||
|
||||
g_assert (latency_ms % TEST_BUF_MS == 0);
|
||||
|
||||
|
@ -589,7 +590,7 @@ construct_deterministic_initial_state (GstHarness * h, gint latency_ms)
|
|||
}
|
||||
|
||||
/* drop GstEventStreamStart & GstEventCaps & GstEventSegment */
|
||||
for (gint i = 0; i < 3; i++)
|
||||
for (i = 0; i < 3; i++)
|
||||
gst_event_unref (gst_harness_pull_event (h));
|
||||
|
||||
/* drop reconfigure event */
|
||||
|
|
Loading…
Reference in a new issue