summaryrefslogtreecommitdiff
path: root/tests/check/elements/rtpred.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/check/elements/rtpred.c')
-rw-r--r--tests/check/elements/rtpred.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/check/elements/rtpred.c b/tests/check/elements/rtpred.c
index 6db4c383a..ff4838901 100644
--- a/tests/check/elements/rtpred.c
+++ b/tests/check/elements/rtpred.c
@@ -49,10 +49,10 @@
#define _check_caps(_h_, _nth_, _expected_payload_) \
G_STMT_START { \
GstEvent *_ev_; \
- gint _pt_ = -1; \
+ gint _pt_ = -1, _i_; \
GstCaps *_caps_ = NULL; \
\
- for (gint _i_ = 0; _i_ < _nth_; ++_i_) \
+ for (_i_ = 0; _i_ < _nth_; ++_i_) \
gst_event_unref (gst_harness_pull_event (_h_)); \
\
_ev_ = gst_harness_pull_event (_h_); \