Browse Source

tiffenc: use av_assert()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.0
Michael Niedermayer 13 years ago
parent
commit
1321e6eaa7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/tiffenc.c

+ 1
- 1
libavcodec/tiffenc.c View File

@@ -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…
Cancel
Save