[SCM] libav/experimental: Change abort() calls to av_abort() calls.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:33:16 UTC 2013


The following commit has been merged in the experimental branch:
commit 02ac31361bdc62d5b0307dd52a42901fb7e7544f
Author: Philip Gladstone <philipjsg at users.sourceforge.net>
Date:   Thu Sep 12 02:34:56 2002 +0000

    Change abort() calls to av_abort() calls.
    
    Originally committed as revision 922 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/imgresample.c b/libavcodec/imgresample.c
index eaba60d..1197f85 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 a4d4bf8..c6ebde1 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

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list