Support modular X11 path to rgb.txt patch by (Ville Skyttä - scop from SF-bugtracker)
Originally committed as revision 5429 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7f21a9a7b8
commit
22a0e90712
1 changed files with 3 additions and 1 deletions
|
|
@ -144,7 +144,9 @@ int Configure(void **ctxp, int argc, char *argv[])
|
|||
char buff[256];
|
||||
int done = 0;
|
||||
|
||||
f = fopen("/usr/lib/X11/rgb.txt", "r");
|
||||
f = fopen("/usr/share/X11/rgb.txt", "r");
|
||||
if (!f)
|
||||
f = fopen("/usr/lib/X11/rgb.txt", "r");
|
||||
if (!f) {
|
||||
fprintf(stderr, "Failed to find rgb.txt\n");
|
||||
return -1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue