Commit a91d9e4b authored by Lukasz Marek's avatar Lukasz Marek Committed by Michael Niedermayer

lavc/ffv1enc: add const to silent warning

Signed-off-by: 's avatarLukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ffe50a92
...@@ -405,7 +405,7 @@ static int encode_plane(FFV1Context *s, uint8_t *src, int w, int h, ...@@ -405,7 +405,7 @@ static int encode_plane(FFV1Context *s, uint8_t *src, int w, int h,
return 0; 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; int x, y, p, i;
const int ring_size = s->avctx->context_model ? 3 : 2; const int ring_size = s->avctx->context_model ? 3 : 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment