Commit c6c09e50 authored by diego's avatar diego

Add some const specifiers to function name variables; fixes a bunch of

"initialization discards qualifiers from pointer target type" warnings.


git-svn-id: file:///var/local/repositories/mplayer/trunk/libswscale@27894 b3059339-0415-0410-9bf9-f77b7e298cf2
parent 9aeee559
......@@ -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 ...
......
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