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