"initialization discards qualifiers from pointer target type" warnings.
Originally committed as revision 27894 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
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),
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 ...