mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
avcodec/utils: use av_assert0() to check validity of input pointers for start code search
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
6a0b72f94f
commit
55db06af64
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user