mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 17:20:36 +00:00
asfdemux: fix build on C89 compilers
This commit is contained in:
parent
f27c832011
commit
fad302b573
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
and often set wrong, inspecting the data is the only way that seem to be working */
|
||||||
GstTypeFindProbability prob = GST_TYPE_FIND_NONE;
|
GstTypeFindProbability prob = GST_TYPE_FIND_NONE;
|
||||||
GstCaps *caps = NULL;
|
GstCaps *caps = NULL;
|
||||||
|
int i;
|
||||||
GstAdapter *adapter = gst_adapter_new ();
|
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;
|
const guint8 *data;
|
||||||
AsfPayload *payload;
|
AsfPayload *payload;
|
||||||
int len;
|
int len;
|
||||||
|
|
Loading…
Reference in a new issue