summaryrefslogtreecommitdiff
path: root/libavformat/iff.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-10 16:26:39 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-10 16:26:39 +0200
commitb2bc48ae22969256334988238f284c78e73c89e4 (patch)
treea1f76727849b2353de97d1fe5bd5384c6b8b6d46 /libavformat/iff.c
parent18b0c39f99eee508107c47345494e535b8757434 (diff)
iff: replace av_abort by av_assert0
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/iff.c')
-rw-r--r--libavformat/iff.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 49303bf3db..e415f7516b 100644
--- a/libavformat/iff.c
+++ b/libavformat/iff.c
@@ -29,6 +29,7 @@
*/
#include "libavcodec/bytestream.h"
+#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h"
#include "libavutil/dict.h"
#include "avformat.h"
@@ -375,7 +376,7 @@ static int iff_read_packet(AVFormatContext *s,
bytestream_put_be16(&buf, 2);
ret = avio_read(pb, buf, iff->body_size);
} else {
- av_abort();
+ av_assert0(0);
}
if(iff->sent_bytes == 0)