[FFmpeg-cvslog] tiffenc: use av_assert()
Michael Niedermayer
git at videolan.org
Sun Jun 10 15:40:52 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jun 10 15:38:11 2012 +0200| [1321e6eaa73ec3d5015a58481091c3ea8019bb3e] | committer: Michael Niedermayer
tiffenc: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=1321e6eaa73ec3d5015a58481091c3ea8019bb3e
---
libavcodec/tiffenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/tiffenc.c b/libavcodec/tiffenc.c
index 9f90c61..7361614 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);
More information about the ffmpeg-cvslog
mailing list