summaryrefslogtreecommitdiff
path: root/libavcodec/indeo2.c
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-02-25 10:27:12 +0000
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2007-02-25 10:27:12 +0000
commitf66e4f5f9eac8eb022fad4f85d8d2e99b26c254f (patch)
treeb733686c3306fa6a6a28e70c1d9507d095e22932 /libavcodec/indeo2.c
parent392cf77a4bfd2509fd59da9e5a702ab84476afc0 (diff)
Add av_ prefix to clip functions
Originally committed as revision 8122 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/indeo2.c')
-rw-r--r--libavcodec/indeo2.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/indeo2.c b/libavcodec/indeo2.c
index f3917ff3aa..2b129d1418 100644
--- a/libavcodec/indeo2.c
+++ b/libavcodec/indeo2.c
@@ -87,11 +87,11 @@ static int ir2_decode_plane(Ir2Context *ctx, int width, int height, uint8_t *dst
}
} else { /* add two deltas from table */
t = dst[out - stride] + (table[c * 2] - 128);
- t= clip_uint8(t);
+ t= av_clip_uint8(t);
dst[out] = t;
out++;
t = dst[out - stride] + (table[(c * 2) + 1] - 128);
- t= clip_uint8(t);
+ t= av_clip_uint8(t);
dst[out] = t;
out++;
}
@@ -121,11 +121,11 @@ static int ir2_decode_plane_inter(Ir2Context *ctx, int width, int height, uint8_
out += c * 2;
} else { /* add two deltas from table */
t = dst[out] + (((table[c * 2] - 128)*3) >> 2);
- t= clip_uint8(t);
+ t= av_clip_uint8(t);
dst[out] = t;
out++;
t = dst[out] + (((table[(c * 2) + 1] - 128)*3) >> 2);
- t= clip_uint8(t);
+ t= av_clip_uint8(t);
dst[out] = t;
out++;
}