From 02ac31361bdc62d5b0307dd52a42901fb7e7544f Mon Sep 17 00:00:00 2001 From: Philip Gladstone Date: Thu, 12 Sep 2002 02:34:56 +0000 Subject: [PATCH] Change abort() calls to av_abort() calls. Originally committed as revision 922 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imgresample.c | 2 +- libavcodec/mpegaudio.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c index eaba60df05..1197f858bc 100644 --- a/libavcodec/imgresample.c +++ b/libavcodec/imgresample.c @@ -66,7 +66,7 @@ static void h_resample_fast(UINT8 *dst, int dst_width, UINT8 *src, int src_width /* test */ if ((src_pos >> POS_FRAC_BITS) < 0 || (src_pos >> POS_FRAC_BITS) > (src_width - NB_TAPS)) - abort(); + av_abort(); #endif s = src + (src_pos >> POS_FRAC_BITS); phase = get_phase(src_pos); diff --git a/libavcodec/mpegaudio.c b/libavcodec/mpegaudio.c index a4d4bf8e1f..c6ebde1ec6 100644 --- a/libavcodec/mpegaudio.c +++ b/libavcodec/mpegaudio.c @@ -454,7 +454,7 @@ static void compute_scale_factors(unsigned char scale_code[SBLIMIT], sf[1] = sf[2] = sf[0]; break; default: - abort(); + av_abort(); } #if 0