diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2019-05-02 09:00:46 +0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2019-05-02 09:20:30 +0300 |
commit | 7eba264513b3d633d5bdd517faa4910552e58910 (patch) | |
tree | 0088323ac1e207067ddb3f6edfea1f38a430e6f5 /libavcodec/cinepak.c | |
parent | d3d1d5936fdc9a351d6d1aac8405292dfb14c831 (diff) |
avcodec/cinepak: Add missing const
Found-by: <mkver>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/cinepak.c')
-rw-r--r-- | libavcodec/cinepak.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/cinepak.c b/libavcodec/cinepak.c index d26c505222..a5132ddbc0 100644 --- a/libavcodec/cinepak.c +++ b/libavcodec/cinepak.c @@ -354,7 +354,7 @@ static int cinepak_predecode_check (CinepakContext *s) return AVERROR_INVALIDDATA; if (num_strips) { - uint8_t *data = s->data + 10 + s->sega_film_skip_bytes; + const uint8_t *data = s->data + 10 + s->sega_film_skip_bytes; int strip_size = AV_RB24 (data + 1); if (strip_size < 12 || strip_size > encoded_buf_size) return AVERROR_INVALIDDATA; |