From 7b2584ed68e1061ccd5f794c7b6ce62d9638b1c3 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Mon, 14 Jun 2010 14:13:32 +0200 Subject: [PATCH] typefindfunctions: Fix unitialized variables yay macosx compilers :( --- gst/typefind/gsttypefindfunctions.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 1cca4b5bc4..980f804196 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -1342,7 +1342,7 @@ dts_type_find (GstTypeFind * tf, gpointer unused) * a lower probability if not found right at the start. Check that the * frame is followed by a second frame at the expected offset. */ while (c.offset <= DTS_MAX_FRAMESIZE) { - guint frame_size, rate, chans; + guint frame_size = 0, rate = 0, chans = 0; if (G_UNLIKELY (!data_scan_ctx_ensure_data (tf, &c, DTS_MIN_FRAMESIZE))) return;