Commit 8800946a authored by Vincent Penquerc'h's avatar Vincent Penquerc'h

h264parser: do not assert on data input, just return
parent b7e82b27
......@@ -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;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment