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:
parent
f179213aa0
commit
36434c20eb
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user