Unified · Split
| @@ -485,7 +485,7 @@ static void ipred_init(IntraPredContext * i) · 484 unmodified lines | |||
| 485 | i->has_t = i->has_tr = i->has_l = i->has_ld = 0; | 485 | i->has_t = i->has_tr = i->has_l = i->has_ld = 0; |
| 486 | } | 486 | } |
| 487 | 487 | ||
| 488 | static void populate_ipred(const RV60Context * s, CUContext * cu, uint8_t * src, int stride, int xoff, int yoff, int size, int is_luma) | 488 | static void populate_ipred(const RV60Context * s, CUContext * cu, const uint8_t * src, int stride, int xoff, int yoff, int size, int is_luma) |
| 489 | { | 489 | { |
| 490 | if (is_luma) | 490 | if (is_luma) |
| 491 | src += (cu->ypos + yoff) * stride + cu->xpos + xoff; | 491 | src += (cu->ypos + yoff) * stride + cu->xpos + xoff; |