changeset 6148:84071d68a7ca libavcodec

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
author diego
date Wed, 16 Jan 2008 09:02:22 +0000
parents 27b50e016757
children b1bd3188bdef
files svq1dec.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/svq1dec.c	Wed Jan 16 08:59:12 2008 +0000
+++ b/svq1dec.c	Wed Jan 16 09:02:22 2008 +0000
@@ -540,7 +540,7 @@
   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++) {