mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
tiffenc: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
0d24931604
commit
1321e6eaa7
@ -121,7 +121,7 @@ static void add_entry(TiffEncoderContext * s,
|
||||
{
|
||||
uint8_t *entries_ptr = s->entries + 12 * s->num_entries;
|
||||
|
||||
assert(s->num_entries < TIFF_MAX_ENTRY);
|
||||
av_assert0(s->num_entries < TIFF_MAX_ENTRY);
|
||||
|
||||
bytestream_put_le16(&entries_ptr, tag);
|
||||
bytestream_put_le16(&entries_ptr, type);
|
||||
|
Loading…
Reference in New Issue
Block a user