diff imc.c @ 4594:a96d905dcbaa libavcodec

Add av_ prefix to clip functions
author reimar
date Sun, 25 Feb 2007 10:27:12 +0000
parents 68288509a159
children 2b72f9bc4f06
line wrap: on
line diff
--- a/imc.c	Sun Feb 25 07:53:44 2007 +0000
+++ b/imc.c	Sun Feb 25 10:27:12 2007 +0000
@@ -347,7 +347,7 @@
         iacc = 0;
 
         for(j = (stream_format_code & 0x2)?4:0; j < BANDS; j++) {
-            cwlen = clip((int)((q->flcoeffs4[j] * 0.5) - summa + 0.5), 0, 6);
+            cwlen = av_clip((int)((q->flcoeffs4[j] * 0.5) - summa + 0.5), 0, 6);
 
             q->bitsBandT[j] = cwlen;
             summer += q->bandWidthT[j] * cwlen;