patches/mpplugin-03-strstr.diff
author shinsui
Tue, 22 May 2007 13:09:08 +0000
changeset 283 48eddd340291
permissions -rw-r--r--
2007-05-21 Dick Hoogendijk <[email protected]> * SFEmutt.spec: (new) The Mutt E-mail client (original) * SFEmuttng.spec: Forced dependency from libcurses to slang; changed some compilerflags to get good SSL support * SFEslang.spec: Bumped to version 2.0.7 2007-05-20 Dick Hoogendijk <[email protected]> * SFEmplayer-plugin: Bumped to version 3.40 and up Patchfiles changed to support newest code mpplugin-01-makefile.diff ADDED mpplugin-02-strings_h.diff ADDED mpplugin-03-strstr.diff ADDED mpplugin-04-ndelay.diff ADDED mpplugin-05-install.diff ADDED mplayer-plugin-01-makefile.diff DELETED mplayer-plugin-02-strings_h.diff DELETED mplayer-plugin-03-strstr.diff DELETED mplayer-pplugin-04-ndelay.diff DELETED mplayer-plugin-05-install.diff DELETED
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
283
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     1
--- mplayerplug-in/Source/plugin-list.cpp-p3	Thu Feb 15 14:53:00 2007
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     2
+++ mplayerplug-in/Source/plugin-list.cpp	Sat May 19 12:03:48 2007
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     3
@@ -140,9 +140,9 @@
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     4
     char tagtarget[128];
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     5
     char tagurl[1024];
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     6
 
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     7
-    endvideo = strstr(smilbuffer, "</video");
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     8
-    startarea = strstr(smilbuffer, "<area");
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
     9
-
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
    10
+    endvideo = strstr((char *)smilbuffer, "</video");
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
    11
+    startarea = strstr((char *)smilbuffer, "<area");
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
    12
+ 
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
    13
     while (startarea && startarea < endvideo) {
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
    14
 	start = strstr(startarea + 5, "begin=");
48eddd340291 2007-05-21 Dick Hoogendijk <[email protected]>
shinsui
parents:
diff changeset
    15
 	if (start) {