Commit 1321e6ea authored by Michael Niedermayer's avatar Michael Niedermayer

tiffenc: use av_assert()

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 0d249316
......@@ -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);
......
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