From 7f390307dbd8470dea5f9226eff22e8885763653 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 16 Jan 2008 09:02:22 +0000 Subject: [PATCH] Add const qualifiers to unmodified function parameters, fixes the warning: svq1dec.c:584: warning: passing argument 1 of 'svq1_packet_checksum' discards qualifiers from pointer target type Originally committed as revision 11536 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/svq1dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/svq1dec.c b/libavcodec/svq1dec.c index e6aa797aaa..4acf9eb48d 100644 --- a/libavcodec/svq1dec.c +++ b/libavcodec/svq1dec.c @@ -540,7 +540,7 @@ static int svq1_decode_delta_block (MpegEncContext *s, GetBitContext *bitbuf, return result; } -static uint16_t svq1_packet_checksum (uint8_t *data, int length, int value) { +static uint16_t svq1_packet_checksum (const uint8_t *data, const int length, int value) { int i; for (i=0; i < length; i++) {