You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02:00
tiffenc: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@@ -121,7 +121,7 @@ static void add_entry(TiffEncoderContext * s,
|
|||||||
{
|
{
|
||||||
uint8_t *entries_ptr = s->entries + 12 * s->num_entries;
|
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, tag);
|
||||||
bytestream_put_le16(&entries_ptr, type);
|
bytestream_put_le16(&entries_ptr, type);
|
||||||
|
Reference in New Issue
Block a user