mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
lavc/ffv1enc: add const to silent warning
Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
ffe50a92a8
commit
a91d9e4b63
@ -405,7 +405,7 @@ static int encode_plane(FFV1Context *s, uint8_t *src, int w, int h,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int encode_rgb_frame(FFV1Context *s, uint8_t *src[3], int w, int h, int stride[3])
|
||||
static int encode_rgb_frame(FFV1Context *s, uint8_t *src[3], int w, int h, const int stride[3])
|
||||
{
|
||||
int x, y, p, i;
|
||||
const int ring_size = s->avctx->context_model ? 3 : 2;
|
||||
|
Loading…
Reference in New Issue
Block a user