library for sound and video

This commit is contained in:
Ertuğrul Erata
2015-08-20 10:54:01 +03:00
parent 1e68a863e6
commit 7ad53f61c2
23 changed files with 741 additions and 0 deletions
@@ -0,0 +1,16 @@
--- src/cddb.c~ 2004-04-04 00:40:37.000000000 +0200
+++ src/cddb.c 2005-06-24 15:50:55.160952588 +0200
@@ -472,8 +472,11 @@
snprintf(inbuffer, 108, "%s/.cdserverrc", getenv("HOME"));
if(stat(inbuffer, &st) < 0) {
- free(inbuffer);
- return 0;
+ strcpy(inbuffer, "/etc/cdserver");
+ if(stat(inbuffer, &st) < 0) {
+ free(inbuffer);
+ return 0;
+ }
}
if((cddbconf = fopen(inbuffer, "r")) == NULL) {