Unified · Split
| @@ -152,7 +152,7 @@ static void fill_from_cache(AVFilterContext *ctx, uint32_t *color, int *in_cidx, · 151 unmodified lines | ||
| 152 | 152 | for(; *in_cidx < mb->cache_used; (*in_cidx)++){ |
| 153 | 153 | Point *p= &mb->point_cache[*in_cidx]; |
| 154 | 154 | int x; |
| 155 | − if(*in_cidx >= mb->cache_used || p->p[1] > py) | |
| 155 | + if(p->p[1] > py) | |
| 156 | 156 | break; |
| 157 | 157 | x= round((p->p[0] - mb->start_x) / scale + mb->w/2); |
| 158 | 158 | if(x<0 || x >= mb->w) |