mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
cavs: fix "warning: initialization discards const qualifier from pointer target type"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
7f4b588fdf
commit
4dd31f88f5
@ -276,7 +276,7 @@ static void intra_pred_plane(uint8_t *d,uint8_t *top,uint8_t *left,int stride)
|
|||||||
int x, y, ia;
|
int x, y, ia;
|
||||||
int ih = 0;
|
int ih = 0;
|
||||||
int iv = 0;
|
int iv = 0;
|
||||||
uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
|
const uint8_t *cm = ff_cropTbl + MAX_NEG_CROP;
|
||||||
|
|
||||||
for (x = 0; x < 4; x++) {
|
for (x = 0; x < 4; x++) {
|
||||||
ih += (x + 1) * (top [5 + x] - top [3 - x]);
|
ih += (x + 1) * (top [5 + x] - top [3 - x]);
|
||||||
|
Loading…
Reference in New Issue
Block a user