Commit 55db06af authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: use av_assert0() to check validity of input pointers for start code search

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6a0b72f9
......@@ -3225,7 +3225,7 @@ const uint8_t *avpriv_find_start_code(const uint8_t *av_restrict p,
{
int i;
assert(p <= end);
av_assert0(p <= end);
if (p >= end)
return end;
......
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