projects
/
platform
/
upstream
/
gst-plugins-ugly.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f27c832
)
asfdemux: fix build on C89 compilers
author
Matej Knopp
<matej.knopp@gmail.com>
Wed, 31 Jul 2013 23:34:05 +0000
(
01:34
+0200)
committer
Sebastian Dröge
<slomo@circular-chaos.org>
Thu, 8 Aug 2013 09:56:19 +0000
(11:56 +0200)
gst/asfdemux/gstasfdemux.c
patch
|
blob
|
history
diff --git
a/gst/asfdemux/gstasfdemux.c
b/gst/asfdemux/gstasfdemux.c
index
36402f7
..
b64ee40
100644
(file)
--- 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 (i
nt 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;