From 99f43dbb58ee22d71be9d537428581e987378aa6 Mon Sep 17 00:00:00 2001 From: Jan Schmidt Date: Tue, 13 Oct 2009 16:02:37 +0100 Subject: qtdemux: Fix uninitialized variable warning Fix another bogus may-be-used-uninitialized warning in qtdemux --- gst/qtdemux/qtdemux.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit