Changeset 15145


Ignore:
Timestamp:
04/05/12 01:49:43 (12 years ago)
Author:
nit
Message:

[titan] fix comp warnings

Location:
titan
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • titan/plugins/makesh4.sh

    r15143 r15145  
    8888compile "dvdplayer" "dvdplay" ""
    8989compile "scriptexec" "scriptexec" ""
     90compile "optimize" "optimize" ""
    9091
    9192#rm -r networkbrowser/networkbrowser
  • titan/plugins/scriptexec/scriptexec.h

    r15143 r15145  
    44void screenscriptexec()
    55{
    6         int rcret = 0, dirrcret = 0;
     6        int dirrcret = 0;
    77        char* tmpstr = NULL, *startdir = NULL;
    88        char* file = NULL, *ret = NULL;
     
    2727                {
    2828                        tmpstr = ostrcat(file, " &", 0, 0);
    29                         ret = system(tmpstr);
     29                        system(tmpstr);
    3030                        free(tmpstr); tmpstr = NULL;
    3131                }
  • titan/titan/fb.h

    r15006 r15145  
    347347        }
    348348
    349         int mode3d = 0, leftoffset = 0, rightoffset = 0, topoffset = 0, bottomoffset = 0;
     349        int mode3d = 0;
    350350        char* mode3dstr = NULL;
    351351
  • titan/titan/header.h

    r14962 r15145  
    195195void recordffrwts(struct service* servicenode, int speed);
    196196
     197//dvdplayer.h
     198int dvdstart(char* filename);
     199int dvdisplaying();
     200void dvdgotmessage();
     201int dvdkeypress(int key);
     202int dvdmenuopen();
     203void dvdchangevideo();
     204void dvdafterend();
     205
    197206// play.h
    198207void playerffts(int speed);
    199208void screenplay(char* startfile, int startfolder, int flag);
    200209void playrcstop(int playertype, int flag);
     210void playwritevfd(char* file);
     211void playstartservice();
     212void screenplayinfobar(char* file, int mode, int playertype, int flag);
     213void playrcgreen(char* file, int playinfobarstatus, int playertype, int flag);
     214void playrcred(char* file, int playinfobarstatus, int playertype, int flag);
     215void playrcinfo(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
     216void playrcff(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
     217void playrcfr(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
     218void playrcpause(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
     219void playrcplay(char* file, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
     220void playrcjumpr(char* file, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
     221void playrcjumpf(char* file, int sec, int* playinfobarstatus, int* playinfobarcount, int playertype, int flag);
    201222
    202223//inetwork.h
     
    218239struct epgscanlist* getepgscanlist(int serviceid, unsigned long transponderid);
    219240int writeepgscanlist(const char *filename);
     241int delepgscanlist(int serviceid, unsigned long transponderid);
    220242
    221243//rectimer.h
     
    455477//rcconfig.h
    456478int getrcconfigint(char *key, char* ext);
     479char* getrcconfig(char *key, char *ext);
    457480
    458481//service.h
  • titan/titan/skin.h

    r15143 r15145  
    18361836        debug(1000, "in");
    18371837        unsigned char *buf = NULL, *scalebuf = NULL;
    1838         int memfd = -1, py = 0, pyh = 0, px = 0, pxw = 0, diff = 0;
     1838        int memfd = -1, py = 0, pyh = 0, pxw = 0, diff = 0; //px = 0
    18391839        unsigned long width, height, rowbytes;
    18401840        int channels, length;
    1841         unsigned char *src, red, green, blue, alpha;
    1842         unsigned long color;
     1841        unsigned char *src; // red, green, blue, alpha;
     1842        //unsigned long color;
    18431843        png_uint_32 y, x;
    18441844        struct pic* picnode = NULL;
     
    19291929                                pxw = y + width;
    19301930                                for(x = y; x < pxw; x++)
    1931                                         skinfb->fblong[x] = (255 << 24) | (*src++ << 16) | (*src++ << 8) | *src++;
     1931                                        skinfb->fblong[x] = (255 << 24) | (src[0] << 16) | (src[1] << 8) | src[2];
    19321932
    19331933                                src += diff;
Note: See TracChangeset for help on using the changeset viewer.