diff options
author | Lukasz Marek <lukasz.m.luki@gmail.com> | 2014-02-14 23:21:20 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-02-15 01:50:47 +0100 |
commit | a91d9e4b6355a697c6c0df0fb1f01633d6db0ea5 (patch) | |
tree | b134ccad8bcbbddaee87e16ead8f7a55a72b54c6 /libavcodec | |
parent | ffe50a92a8aaa88d8d21dfd9e42738a276d5d92b (diff) | |
download | ffmpeg-a91d9e4b6355a697c6c0df0fb1f01633d6db0ea5.tar.gz |
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>
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/ffv1enc.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |