aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2008-01-16 09:02:22 +0000
committerDiego Biurrun <diego@biurrun.de>2008-01-16 09:02:22 +0000
commit7f390307dbd8470dea5f9226eff22e8885763653 (patch)
treead9591bef1eefcba258ecb400fe54c7337e2b942
parent744496e3e3c1c70521b2a999b3d5733bcc0739cb (diff)
downloadffmpeg-7f390307dbd8470dea5f9226eff22e8885763653.tar.gz
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
-rw-r--r--libavcodec/svq1dec.c2
1 files changed, 1 insertions, 1 deletions
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++) {