Mercurial > libavcodec.hg
diff error_resilience.c @ 4594:a96d905dcbaa libavcodec
Add av_ prefix to clip functions
author | reimar |
---|---|
date | Sun, 25 Feb 2007 10:27:12 +0000 |
parents | f334529b46ec |
children | f99e40a7155b |
line wrap: on
line diff
--- a/error_resilience.c Sun Feb 25 07:53:44 2007 +0000 +++ b/error_resilience.c Sun Feb 25 10:27:12 2007 +0000 @@ -612,8 +612,8 @@ * error of the same type occured */ void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status){ - const int start_i= clip(startx + starty * s->mb_width , 0, s->mb_num-1); - const int end_i = clip(endx + endy * s->mb_width , 0, s->mb_num); + const int start_i= av_clip(startx + starty * s->mb_width , 0, s->mb_num-1); + const int end_i = av_clip(endx + endy * s->mb_width , 0, s->mb_num); const int start_xy= s->mb_index2xy[start_i]; const int end_xy = s->mb_index2xy[end_i]; int mask= -1;