From 9f2b75bd86bb6cfd77dae78e9e601881ba1c58e7 Mon Sep 17 00:00:00 2001 From: "minje.ahn" Date: Tue, 7 Jun 2022 18:19:12 +0900 Subject: [PATCH] Fix build error Change-Id: Iaaee756e9df16b4fdccd4d6c09dff92eec7134c0 Signed-off-by: minje.ahn --- src/common/media-common-utils.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/common/media-common-utils.c b/src/common/media-common-utils.c index 0af71d5..0901fe8 100644 --- a/src/common/media-common-utils.c +++ b/src/common/media-common-utils.c @@ -132,12 +132,16 @@ bool ms_is_support_pvr(void) bool ms_is_valid_symlink(const char *path) { +#ifdef _USE_TVPD_MODE + return false; +#else g_autofree char *real_path = realpath(path, NULL); if (!real_path) return false; return (g_strcmp0(real_path, MEDIA_SHARE_PATH) == 0); +#endif } int ms_check_file_path(const char *file_path, uid_t uid) -- 2.7.4