typefind: fix build error

fix build errors:
gsttypefindfunctions.c:248:25: error: 'low' may be used uninitialized in this function [-Werror=uninitialized]
gsttypefindfunctions.c:239:24: error: 'high' may be used uninitialized in this function [-Werror=uninitialized]

Signed-off-by: Alexey Fisher <bug-track@fisher-privat.net>
This commit is contained in:
Alexey Fisher 2011-11-28 19:03:50 +01:00 committed by Vincent Penquerc'h
parent f179213aa0
commit 36434c20eb

View file

@ -226,6 +226,8 @@ check_utf16 (const guint8 * data, gint len, gint endianness)
GstByteReader br;
guint16 high, low;
low = high = 0;
if (len & 1)
return FALSE;