Change abort() calls to av_abort() calls.
authorPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 12 Sep 2002 02:34:56 +0000 (02:34 +0000)
committerPhilip Gladstone <philipjsg@users.sourceforge.net>
Thu, 12 Sep 2002 02:34:56 +0000 (02:34 +0000)
Originally committed as revision 922 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/imgresample.c
libavcodec/mpegaudio.c

index eaba60d..1197f85 100644 (file)
@@ -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);
index a4d4bf8..c6ebde1 100644 (file)
@@ -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