mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
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
This commit is contained in:
parent
744496e3e3
commit
7f390307db
@ -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++) {
|
||||
|
Loading…
Reference in New Issue
Block a user