Commit b2bc48ae authored by Michael Niedermayer's avatar Michael Niedermayer

iff: replace av_abort by av_assert0

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 18b0c39f
...@@ -29,6 +29,7 @@ ...@@ -29,6 +29,7 @@
*/ */
#include "libavcodec/bytestream.h" #include "libavcodec/bytestream.h"
#include "libavutil/avassert.h"
#include "libavutil/intreadwrite.h" #include "libavutil/intreadwrite.h"
#include "libavutil/dict.h" #include "libavutil/dict.h"
#include "avformat.h" #include "avformat.h"
...@@ -375,7 +376,7 @@ static int iff_read_packet(AVFormatContext *s, ...@@ -375,7 +376,7 @@ static int iff_read_packet(AVFormatContext *s,
bytestream_put_be16(&buf, 2); bytestream_put_be16(&buf, 2);
ret = avio_read(pb, buf, iff->body_size); ret = avio_read(pb, buf, iff->body_size);
} else { } else {
av_abort(); av_assert0(0);
} }
if(iff->sent_bytes == 0) if(iff->sent_bytes == 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment