iff: replace av_abort by av_assert0
authorMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Aug 2012 14:26:39 +0000 (16:26 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Fri, 10 Aug 2012 14:26:39 +0000 (16:26 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/iff.c

index 49303bf..e415f75 100644 (file)
@@ -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)