mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-17 21:14:47 +00:00
avcodec/rv60: set populate_ipred src parameter to const
This commit is contained in:
parent
006718c475
commit
2bbbf36fe2
@ -485,7 +485,7 @@ static void ipred_init(IntraPredContext * i)
|
||||
i->has_t = i->has_tr = i->has_l = i->has_ld = 0;
|
||||
}
|
||||
|
||||
static void populate_ipred(const RV60Context * s, CUContext * cu, uint8_t * src, int stride, int xoff, int yoff, int size, int is_luma)
|
||||
static void populate_ipred(const RV60Context * s, CUContext * cu, const uint8_t * src, int stride, int xoff, int yoff, int size, int is_luma)
|
||||
{
|
||||
if (is_luma)
|
||||
src += (cu->ypos + yoff) * stride + cu->xpos + xoff;
|
||||
|
Loading…
Reference in New Issue
Block a user