From 05cec96949aee0ba7374b1209e8f4bed6f225a5e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Tue, 19 Oct 2010 23:25:54 +0100 Subject: [PATCH] dcaparse: init variable to make osx build bot happy gstdcaparse.c: In function 'gst_dca_parse_check_valid_frame': gstdcaparse.c:246: warning: 'best_sync' may be used uninitialized in this function --- gst/audioparsers/gstdcaparse.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gst/audioparsers/gstdcaparse.c b/gst/audioparsers/gstdcaparse.c index f46484e6c3..c99c40293e 100644 --- a/gst/audioparsers/gstdcaparse.c +++ b/gst/audioparsers/gstdcaparse.c @@ -243,7 +243,7 @@ static gint gst_dca_parse_find_sync (GstDcaParse * dcaparse, GstByteReader * reader, const GstBuffer * buf, guint32 * sync) { - guint32 best_sync; + guint32 best_sync = 0; guint best_offset = G_MAXUINT; gint off; -- 2.34.1