h264parser: do not assert on data input, just return
https://bugzilla.gnome.org/show_bug.cgi?id=674069
This commit is contained in:
parent
b7e82b27be
commit
8800946aa3
@ -326,7 +326,8 @@ nal_reader_get_ue (NalReader * nr, guint32 * val)
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
g_return_val_if_fail (i <= 32, FALSE);
|
||||
if (G_UNLIKELY (i > 32))
|
||||
return FALSE;
|
||||
|
||||
if (G_UNLIKELY (!nal_reader_get_bits_uint32 (nr, &value, i)))
|
||||
return FALSE;
|
||||
|
Loading…
x
Reference in New Issue
Block a user