Re: [FFmpeg-devel] [PATCH] avcodec/cinepak: Add missing const qualifier
Michael Niedermayer: > On Thu, May 02, 2019 at 06:27:22AM +0200, Andreas Rheinhardt wrote: >> Has been forgotten in b606493717db6424d693e1a944f51171e9e72905. >> >> Signed-off-by: Andreas Rheinhardt >> --- >> libavcodec/cinepak.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) > > fixed as someone on IRC pinged about it before i saw the patch > That was actually me. - Andreas/mkver ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
Re: [FFmpeg-devel] [PATCH] avcodec/cinepak: Add missing const qualifier
On Thu, May 02, 2019 at 06:27:22AM +0200, Andreas Rheinhardt wrote: > Has been forgotten in b606493717db6424d693e1a944f51171e9e72905. > > Signed-off-by: Andreas Rheinhardt > --- > libavcodec/cinepak.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) fixed as someone on IRC pinged about it before i saw the patch -- Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB He who knows, does not speak. He who speaks, does not know. -- Lao Tsu signature.asc Description: PGP signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
[FFmpeg-devel] [PATCH] avcodec/cinepak: Add missing const qualifier
Has been forgotten in b606493717db6424d693e1a944f51171e9e72905. Signed-off-by: Andreas Rheinhardt --- libavcodec/cinepak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.21.0 ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".