Browse Source

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>
tags/n2.2-rc1
Lukasz Marek Michael Niedermayer 11 years ago
parent
commit
a91d9e4b63
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/ffv1enc.c

+ 1
- 1
libavcodec/ffv1enc.c View File

@@ -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…
Cancel
Save