diff options
author | Diego Biurrun <diego@biurrun.de> | 2008-11-04 20:38:55 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-11-04 20:38:55 +0000 |
commit | dcc37c9b6aa1a456087cd9ab020939764c9f0044 (patch) | |
tree | ef7fdc21000227d4d347779c861a6ac8202849a5 | |
parent | b09a7c05f6e8914035d97b6d9e887246558585f0 (diff) | |
download | ffmpeg-dcc37c9b6aa1a456087cd9ab020939764c9f0044.tar.gz |
Add some const specifiers to function name variables; fixes a bunch of
"initialization discards qualifiers from pointer target type" warnings.
Originally committed as revision 27894 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
-rw-r--r-- | libswscale/cs_test.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/cs_test.c b/libswscale/cs_test.c index d49a60582f..2223ee3a31 100644 --- a/libswscale/cs_test.c +++ b/libswscale/cs_test.c @@ -75,7 +75,7 @@ int main(int argc, char **argv) struct func_info_s { int src_bpp; int dst_bpp; - char *name; + const char *name; void (*func)(const uint8_t *src, uint8_t *dst, long src_size); } func_info[] = { FUNC(2, 2, rgb15to16), @@ -127,7 +127,7 @@ int main(int argc, char **argv) for(srcOffset=128; srcOffset<196; srcOffset+=4){ uint8_t *src= srcBuffer+srcOffset; uint8_t *dst= dstBuffer+dstOffset; - char *name=NULL; + const char *name=NULL; if(failed) break; //don't fill the screen with shit ... |