From 3248b4b461546077a24093986511ce313b8d9f43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Wed, 25 Apr 2007 15:59:44 +0000 Subject: 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 --- src/libreal/real_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libreal/real_common.c') 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") -- cgit v1.2.3