diff options
author | Ville Skyttä <scop@users.sourceforge.net> | 2007-04-25 15:59:44 +0000 |
---|---|---|
committer | Ville Skyttä <scop@users.sourceforge.net> | 2007-04-25 15:59:44 +0000 |
commit | 3248b4b461546077a24093986511ce313b8d9f43 (patch) | |
tree | d79df5a64566868f01bf6007f0f647c89d83af7b /src | |
parent | 43c9b8d18bddd98d3a82476fb8b7e7215bfebaab (diff) | |
download | xine-lib-3248b4b461546077a24093986511ce313b8d9f43.tar.gz xine-lib-3248b4b461546077a24093986511ce313b8d9f43.tar.bz2 |
Fix real codec search paths
xine-lib 1.1.6 ends up looking for real codecs eg. in /usr/locallib/win32,
/usr/locallib/codecs etc, there's a missing slash. The attached patch
should fix it.
More info: https://bugzilla.redhat.com/237743
Diffstat (limited to 'src')
-rw-r--r-- | src/libreal/real_common.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libreal/real_common.c b/src/libreal/real_common.c index 925a5cc71..22c33aa03 100644 --- a/src/libreal/real_common.c +++ b/src/libreal/real_common.c @@ -83,8 +83,8 @@ void _x_real_codecs_init(xine_t *const xine) { default_real_codecs_path = path; #define try_real_subpath(path) \ try_real_path("/usr/" path) \ - else try_real_path("/usr/local" path) \ - else try_real_path("/opt" path) + else try_real_path("/usr/local/" path) \ + else try_real_path("/opt/" path) /* The priority is for the first found */ try_real_subpath("lib/win32") |