mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-17 21:06:17 +00:00
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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Reference in a new issue