Commit 7f390307 authored by Diego Biurrun's avatar Diego Biurrun

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
parent 744496e3
...@@ -540,7 +540,7 @@ static int svq1_decode_delta_block (MpegEncContext *s, GetBitContext *bitbuf, ...@@ -540,7 +540,7 @@ static int svq1_decode_delta_block (MpegEncContext *s, GetBitContext *bitbuf,
return result; 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; int i;
for (i=0; i < length; i++) { for (i=0; i < length; i++) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment