diff options
author | Matej Knopp <matej.knopp@gmail.com> | 2013-08-01 01:34:05 +0200 |
---|---|---|
committer | Sebastian Dröge <slomo@circular-chaos.org> | 2013-08-08 11:56:19 +0200 |
commit | fad302b57385af058ea2e0add54f08984e3b6699 (patch) | |
tree | dc9ddc9983465e9819635c7572e0522ec942db0c | |
parent | f27c832011a96a277bcabdb0a858077a42b46ebc (diff) |
asfdemux: fix build on C89 compilers
-rw-r--r-- | gst/asfdemux/gstasfdemux.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gst/asfdemux/gstasfdemux.c b/gst/asfdemux/gstasfdemux.c index 36402f79..b64ee409 100644 --- a/gst/asfdemux/gstasfdemux.c +++ b/gst/asfdemux/gstasfdemux.c @@ -1378,9 +1378,10 @@ gst_asf_demux_update_caps_from_payload (GstASFDemux * demux, AsfStream * stream) and often set wrong, inspecting the data is the only way that seem to be working */ GstTypeFindProbability prob = GST_TYPE_FIND_NONE; GstCaps *caps = NULL; + int i; GstAdapter *adapter = gst_adapter_new (); - for (int i = 0; i < stream->payloads->len && prob < GST_TYPE_FIND_LIKELY; ++i) { + for (i = 0; i < stream->payloads->len && prob < GST_TYPE_FIND_LIKELY; ++i) { const guint8 *data; AsfPayload *payload; int len; |