From 42343f7e6e92dcd7d134e288cef6d1005c9ca666 Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Thu, 12 Sep 2002 02:34:01 +0000 Subject: [PATCH] Change calls to abort() to be calls to av_abort() Originally committed as revision 921 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libav/avienc.c | 4 ++-- libav/mpeg.c | 4 ++-- libav/raw.c | 2 +- libav/rm.c | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/libav/avienc.c b/libav/avienc.c index 2ef9ef1823..f962bf98a3 100644 --- a/libav/avienc.c +++ b/libav/avienc.c @@ -250,7 +250,7 @@ static int avi_write_header(AVFormatContext *s) put_le32(pb, 0); break; default: - abort(); + av_abort(); } end_tag(pb, strh); @@ -266,7 +266,7 @@ static int avi_write_header(AVFormatContext *s) } break; default: - abort(); + av_abort(); } end_tag(pb, strf); end_tag(pb, list2); diff --git a/libav/mpeg.c b/libav/mpeg.c index 02a8b29bea..f6ceaeedbe 100644 --- a/libav/mpeg.c +++ b/libav/mpeg.c @@ -190,7 +190,7 @@ static int mpeg_mux_init(AVFormatContext *ctx) s->video_bound++; break; default: - abort(); + av_abort(); } } @@ -238,7 +238,7 @@ static int mpeg_mux_init(AVFormatContext *ctx) 90000 * FRAME_RATE_BASE); break; default: - abort(); + av_abort(); } } return 0; diff --git a/libav/raw.c b/libav/raw.c index 97c17c0b2e..47efe1af06 100644 --- a/libav/raw.c +++ b/libav/raw.c @@ -377,7 +377,7 @@ int rawvideo_read_packet(AVFormatContext *s, packet_size = (width * height * 3); break; default: - abort(); + av_abort(); break; } diff --git a/libav/rm.c b/libav/rm.c index 00b4f641d4..c3e2e8c26a 100644 --- a/libav/rm.c +++ b/libav/rm.c @@ -313,7 +313,7 @@ static int rm_write_header(AVFormatContext *s) stream->total_frames = stream->nb_packets; break; default: - abort(); + av_abort(); } }