projects
/
platform
/
upstream
/
gst-plugins-good.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
50110d0
)
qtdemux: Fix uninitialized variable warning
author
Jan Schmidt
<thaytan@noraisin.net>
Tue, 13 Oct 2009 15:02:37 +0000
(16:02 +0100)
committer
Jan Schmidt
<thaytan@noraisin.net>
Tue, 13 Oct 2009 15:03:13 +0000
(16:03 +0100)
Fix another bogus may-be-used-uninitialized warning in qtdemux
gst/qtdemux/qtdemux.c
patch
|
blob
|
history
diff --git
a/gst/qtdemux/qtdemux.c
b/gst/qtdemux/qtdemux.c
index
2ba04e6
..
966d43b
100644
(file)
--- a/
gst/qtdemux/qtdemux.c
+++ b/
gst/qtdemux/qtdemux.c
@@
-3892,7
+3892,7
@@
qtdemux_parse_samples (GstQTDemux * qtdemux, QtDemuxStream * stream,
}
/* stps marks partial sync frames like open GOP I-Frames */
if (qtdemux_tree_get_child_by_type_full (stbl, FOURCC_stps, &stps)) {
- guint32 n_sample_syncs;
+ guint32 n_sample_syncs
= 0
;
if (!qt_atom_parser_skip (&stps, 4))
goto corrupt_file;