From f66e4f5f9eac8eb022fad4f85d8d2e99b26c254f Mon Sep 17 00:00:00 2001 From: Reimar Döffinger Date: Sun, 25 Feb 2007 10:27:12 +0000 Subject: Add av_ prefix to clip functions Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/imc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavcodec/imc.c') diff --git a/libavcodec/imc.c b/libavcodec/imc.c index 7360b64096..6140130b1c 100644 --- a/libavcodec/imc.c +++ b/libavcodec/imc.c @@ -347,7 +347,7 @@ static int bit_allocation (IMCContext* q, int stream_format_code, int freebits, 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; -- cgit v1.2.3