diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-06-10 17:38:11 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-10 17:40:24 +0400 |
commit | 1321e6eaa73ec3d5015a58481091c3ea8019bb3e (patch) | |
tree | 43a8241ec054d622d1b719359698c3a3325c1dc5 /libavcodec | |
parent | 0d249316043fb69a3972029bff3a2969689ba8b6 (diff) |
tiffenc: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/tiffenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c index 9f90c618d8..7361614505 100644 --- a/libavcodec/tiffenc.c +++ b/libavcodec/tiffenc.c @@ -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); |