mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-29 19:50:40 +00:00
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
1 changed files with 2 additions and 1 deletions
|
@ -326,7 +326,8 @@ nal_reader_get_ue (NalReader * nr, guint32 * val)
|
||||||
return FALSE;
|
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)))
|
if (G_UNLIKELY (!nal_reader_get_bits_uint32 (nr, &value, i)))
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
Loading…
Reference in a new issue