summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Schmidt <thaytan@noraisin.net>2009-10-13 16:02:37 +0100
committerJan Schmidt <thaytan@noraisin.net>2009-10-13 16:03:13 +0100
commit99f43dbb58ee22d71be9d537428581e987378aa6 (patch)
tree7f937fc5ec7969b3248d98a682a83ee04f6a7136
parent50110d022d8ad2c17255446c143672ed261efd2f (diff)
qtdemux: Fix uninitialized variable warning
Fix another bogus may-be-used-uninitialized warning in qtdemux
-rw-r--r--gst/qtdemux/qtdemux.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/qtdemux/qtdemux.c b/gst/qtdemux/qtdemux.c
index 2ba04e6e..966d43bc 100644
--- 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;