From a91d9e4b6355a697c6c0df0fb1f01633d6db0ea5 Mon Sep 17 00:00:00 2001 From: Lukasz Marek Date: Fri, 14 Feb 2014 23:21:20 +0100 Subject: [PATCH] lavc/ffv1enc: add const to silent warning Signed-off-by: Lukasz Marek Signed-off-by: Michael Niedermayer --- libavcodec/ffv1enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1enc.c b/libavcodec/ffv1enc.c index ef07eb9782..c7479e649f 100644 --- a/libavcodec/ffv1enc.c +++ b/libavcodec/ffv1enc.c @@ -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;