OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
744496e
)
Add const qualifiers to unmodified function parameters, fixes the warning:
author
Diego Biurrun
<diego@biurrun.de>
Wed, 16 Jan 2008 09:02:22 +0000
(09:02 +0000)
committer
Diego Biurrun
<diego@biurrun.de>
Wed, 16 Jan 2008 09:02:22 +0000
(09:02 +0000)
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
patch
|
blob
|
history
diff --git
a/libavcodec/svq1dec.c
b/libavcodec/svq1dec.c
index
e6aa797
..
4acf9eb
100644
(file)
--- 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++) {