mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-24 00:02:52 +00:00
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
@ -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…
Reference in New Issue
Block a user