Mercurial > libavcodec.hg
comparison error_resilience.c @ 6524:01647ac078a7 libavcodec
typo: occured --> occurred
| author | diego |
|---|---|
| date | Sat, 22 Mar 2008 01:06:57 +0000 |
| parents | 493dc59d469a |
| children | 52925923273f |
comparison
equal
deleted
inserted
replaced
| 6523:ae19192241c4 | 6524:01647ac078a7 |
|---|---|
| 611 | 611 |
| 612 /** | 612 /** |
| 613 * adds a slice. | 613 * adds a slice. |
| 614 * @param endx x component of the last macroblock, can be -1 for the last of the previous line | 614 * @param endx x component of the last macroblock, can be -1 for the last of the previous line |
| 615 * @param status the status at the end (MV_END, AC_ERROR, ...), it is assumed that no earlier end or | 615 * @param status the status at the end (MV_END, AC_ERROR, ...), it is assumed that no earlier end or |
| 616 * error of the same type occured | 616 * error of the same type occurred |
| 617 */ | 617 */ |
| 618 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status){ | 618 void ff_er_add_slice(MpegEncContext *s, int startx, int starty, int endx, int endy, int status){ |
| 619 const int start_i= av_clip(startx + starty * s->mb_width , 0, s->mb_num-1); | 619 const int start_i= av_clip(startx + starty * s->mb_width , 0, s->mb_num-1); |
| 620 const int end_i = av_clip(endx + endy * s->mb_width , 0, s->mb_num); | 620 const int end_i = av_clip(endx + endy * s->mb_width , 0, s->mb_num); |
| 621 const int start_xy= s->mb_index2xy[start_i]; | 621 const int start_xy= s->mb_index2xy[start_i]; |
