1
0
mirror of https://github.com/gryf/gryf-overlay.git synced 2026-04-23 19:41:24 +02:00

initial import

This commit is contained in:
root
2010-02-09 21:25:29 +01:00
commit b2719dc011
1080 changed files with 41656 additions and 0 deletions
@@ -0,0 +1,21 @@
--- xmmsmplayer-0.5/xmmsmplayer/xmmsmplayer.c.orig 2005-11-12 22:26:22.000000000 +1030
+++ xmmsmplayer-0.5/xmmsmplayer/xmmsmplayer.c 2005-11-12 22:46:24.000000000 +1030
@@ -95,9 +95,16 @@ int mplayer_is_our_file(char *filename){
ext++;
char *tok;
- char *exts = strdup(mplayer_current_cfg->exts);
+ char *exts;
+
+ if (!mplayer_current_cfg->exts)
+ {
+ fprintf(stderr, "mplayer_current_cfg->exts == NULL!\n");
+ return FALSE;
+ }
+
+ exts = strdup(mplayer_current_cfg->exts);
- strcpy(exts, mplayer_current_cfg->exts);
tok = strtok(exts, " ");
while (tok != NULL){