Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2019-05-02 09:00:46 +0300
committerMichael Niedermayer <michael@niedermayer.cc>2019-05-02 09:20:30 +0300
commit7eba264513b3d633d5bdd517faa4910552e58910 (patch)
tree0088323ac1e207067ddb3f6edfea1f38a430e6f5 /libavcodec/cinepak.c
parentd3d1d5936fdc9a351d6d1aac8405292dfb14c831 (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.c2
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;