wok-4.x diff mplayerplug-in/stuff/mplayerplug-in-3.55-glibc210.u @ rev 4663

linux-source: tiny change on buildtaz
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Mon Dec 28 23:53:32 2009 +0100 (2009-12-28)
parents
children
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mplayerplug-in/stuff/mplayerplug-in-3.55-glibc210.u	Mon Dec 28 23:53:32 2009 +0100
     1.3 @@ -0,0 +1,63 @@
     1.4 +--- mplayerplug-in-3.55/Source/plugin-list.cpp
     1.5 ++++ mplayerplug-in-3.55/Source/plugin-list.cpp
     1.6 +@@ -132,9 +132,9 @@ void insert_area(Node * parent, char *ta
     1.7 + 
     1.8 + void find_area_tags(const char *smilbuffer, Node * parent)
     1.9 + {
    1.10 +-    char *startarea;
    1.11 +-    char *endvideo;
    1.12 +-    char *start;
    1.13 ++    const char *startarea;
    1.14 ++    const char *endvideo;
    1.15 ++    const char *start;
    1.16 + 
    1.17 +     int tagtime = 0;
    1.18 +     char tagtarget[128];
    1.19 +--- mplayerplug-in-3.55/Source/plugin-setup.h
    1.20 ++++ mplayerplug-in-3.55/Source/plugin-setup.h
    1.21 +@@ -174,7 +174,7 @@ char *getURLHostname(char *url);
    1.22 + char *getURLFilename(const char *url);
    1.23 + int isMms(char *url, int nomediacache);
    1.24 + void mmsToHttp(char *dest, char *src);
    1.25 +-int sendCommand(nsPluginInstance * instance, char *command);
    1.26 ++int sendCommand(nsPluginInstance * instance, const char *command);
    1.27 + int URLcmp(const char *url1, const char *url2);
    1.28 + extern void remove_quotes(char *url);
    1.29 + void killmplayer(nsPluginInstance * instance);
    1.30 +--- mplayerplug-in-3.55/Source/plugin-support.cpp
    1.31 ++++ mplayerplug-in-3.55/Source/plugin-support.cpp
    1.32 +@@ -109,7 +109,7 @@ char *getURLFilename(const char *url)
    1.33 + {
    1.34 + 
    1.35 +     char *filename;
    1.36 +-    char *tmp;
    1.37 ++    const char *tmp;
    1.38 +     int len;
    1.39 + 
    1.40 +     if (DEBUG > 1)
    1.41 +@@ -454,7 +454,7 @@ void remove_quotes(char *url)
    1.42 + // in cleanup routines (like destroyCB and shut), when we know that
    1.43 + // the player thread is not running, it is safe to call without locking
    1.44 + 
    1.45 +-int sendCommand(nsPluginInstance * instance, char *command)
    1.46 ++int sendCommand(nsPluginInstance * instance, const char *command)
    1.47 + {
    1.48 +     int retval;
    1.49 +     char buffer[1024];
    1.50 +	 
    1.51 +--- mplayerplug-in-3.55/Source/plugin-ui.cpp	Thu Jun 12 14:18:01 2008
    1.52 ++++ mplayerplug-in-3.55/Source/plugin-ui.cpp	Fri Jun 12 14:25:35 2009
    1.53 +@@ -283,12 +283,7 @@
    1.54 +     int term, chop;
    1.55 +     int PercentRedraw;
    1.56 + 
    1.57 +-    if (0) {
    1.58 +-	printf("Widget: %p\n", w);
    1.59 +-	printf("Message: %s\n", message);
    1.60 +-    }
    1.61 +-
    1.62 +-    if (DEBUG > 1)
    1.63 ++	if (DEBUG > 1)
    1.64 + 	printf("state = %i, height = %i width = %i\n", instance->state,
    1.65 + 	       instance->movie_height, instance->movie_width);
    1.66 +