mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
typefindfunctions: Fix compiler warning
This commit is contained in:
parent
36434c20eb
commit
ed5279e3c5
1 changed files with 2 additions and 2 deletions
|
@ -215,7 +215,7 @@ typedef struct
|
||||||
{
|
{
|
||||||
size_t bomlen;
|
size_t bomlen;
|
||||||
const char *const bom;
|
const char *const bom;
|
||||||
gboolean (*checker) (const guint8 *, gint, gint);
|
gboolean (*checker) (const guint8 *, gint, gint);
|
||||||
int boost;
|
int boost;
|
||||||
int endianness;
|
int endianness;
|
||||||
} GstUnicodeTester;
|
} GstUnicodeTester;
|
||||||
|
@ -288,7 +288,7 @@ unicode_type_find (GstTypeFind * tf, const GstUnicodeTester * tester,
|
||||||
const guint8 *data = gst_type_find_peek (tf, 0, len);
|
const guint8 *data = gst_type_find_peek (tf, 0, len);
|
||||||
int prob = -1;
|
int prob = -1;
|
||||||
const gint max_scan_size = 256 * 1024;
|
const gint max_scan_size = 256 * 1024;
|
||||||
int endianness;
|
int endianness = 0;
|
||||||
|
|
||||||
if (!data) {
|
if (!data) {
|
||||||
len = 2;
|
len = 2;
|
||||||
|
|
Loading…
Reference in a new issue