wok-current view mplayerplug-in/stuff/mplayerplug-in-3.55-glibc210.u @ rev 11435

gnome-js-common: add intltool to BUILD_DEPENDS
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Dec 16 15:42:01 2011 +0100 (2011-12-16)
parents
children
line source
1 --- mplayerplug-in-3.55/Source/plugin-list.cpp
2 +++ mplayerplug-in-3.55/Source/plugin-list.cpp
3 @@ -132,9 +132,9 @@ void insert_area(Node * parent, char *ta
5 void find_area_tags(const char *smilbuffer, Node * parent)
6 {
7 - char *startarea;
8 - char *endvideo;
9 - char *start;
10 + const char *startarea;
11 + const char *endvideo;
12 + const char *start;
14 int tagtime = 0;
15 char tagtarget[128];
16 --- mplayerplug-in-3.55/Source/plugin-setup.h
17 +++ mplayerplug-in-3.55/Source/plugin-setup.h
18 @@ -174,7 +174,7 @@ char *getURLHostname(char *url);
19 char *getURLFilename(const char *url);
20 int isMms(char *url, int nomediacache);
21 void mmsToHttp(char *dest, char *src);
22 -int sendCommand(nsPluginInstance * instance, char *command);
23 +int sendCommand(nsPluginInstance * instance, const char *command);
24 int URLcmp(const char *url1, const char *url2);
25 extern void remove_quotes(char *url);
26 void killmplayer(nsPluginInstance * instance);
27 --- mplayerplug-in-3.55/Source/plugin-support.cpp
28 +++ mplayerplug-in-3.55/Source/plugin-support.cpp
29 @@ -109,7 +109,7 @@ char *getURLFilename(const char *url)
30 {
32 char *filename;
33 - char *tmp;
34 + const char *tmp;
35 int len;
37 if (DEBUG > 1)
38 @@ -454,7 +454,7 @@ void remove_quotes(char *url)
39 // in cleanup routines (like destroyCB and shut), when we know that
40 // the player thread is not running, it is safe to call without locking
42 -int sendCommand(nsPluginInstance * instance, char *command)
43 +int sendCommand(nsPluginInstance * instance, const char *command)
44 {
45 int retval;
46 char buffer[1024];
48 --- mplayerplug-in-3.55/Source/plugin-ui.cpp Thu Jun 12 14:18:01 2008
49 +++ mplayerplug-in-3.55/Source/plugin-ui.cpp Fri Jun 12 14:25:35 2009
50 @@ -283,12 +283,7 @@
51 int term, chop;
52 int PercentRedraw;
54 - if (0) {
55 - printf("Widget: %p\n", w);
56 - printf("Message: %s\n", message);
57 - }
58 -
59 - if (DEBUG > 1)
60 + if (DEBUG > 1)
61 printf("state = %i, height = %i width = %i\n", instance->state,
62 instance->movie_height, instance->movie_width);