From ed5279e3c57936864890e80eba58f8e7c4aa0298 Mon Sep 17 00:00:00 2001 From: Philippe Normand Date: Mon, 28 Nov 2011 20:10:18 +0100 Subject: [PATCH] typefindfunctions: Fix compiler warning --- gst/typefind/gsttypefindfunctions.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/typefind/gsttypefindfunctions.c b/gst/typefind/gsttypefindfunctions.c index 55c21a9..7784d2c 100644 --- a/gst/typefind/gsttypefindfunctions.c +++ b/gst/typefind/gsttypefindfunctions.c @@ -215,7 +215,7 @@ typedef struct { size_t bomlen; const char *const bom; - gboolean (*checker) (const guint8 *, gint, gint); + gboolean (*checker) (const guint8 *, gint, gint); int boost; int endianness; } GstUnicodeTester; @@ -288,7 +288,7 @@ unicode_type_find (GstTypeFind * tf, const GstUnicodeTester * tester, const guint8 *data = gst_type_find_peek (tf, 0, len); int prob = -1; const gint max_scan_size = 256 * 1024; - int endianness; + int endianness = 0; if (!data) { len = 2; -- 2.7.4