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
This commit is contained in:
Tim-Philipp Müller 2010-10-19 23:25:54 +01:00
parent d5a008b9ee
commit 05cec96949

View file

@ -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;