[FFmpeg-cvslog] iff: replace av_abort by av_assert0
Michael Niedermayer
git at videolan.org
Fri Aug 10 16:31:45 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Aug 10 16:26:39 2012 +0200| [b2bc48ae22969256334988238f284c78e73c89e4] | committer: Michael Niedermayer
iff: replace av_abort by av_assert0
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b2bc48ae22969256334988238f284c78e73c89e4
---
libavformat/iff.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/iff.c b/libavformat/iff.c
index 49303bf..e415f75 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)
More information about the ffmpeg-cvslog
mailing list