summaryrefslogtreecommitdiffstats
path: root/osdep/path-macosx.m
diff options
context:
space:
mode:
Diffstat (limited to 'osdep/path-macosx.m')
-rw-r--r--osdep/path-macosx.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/osdep/path-macosx.m b/osdep/path-macosx.m
index d4c5020da1..543b248c14 100644
--- a/osdep/path-macosx.m
+++ b/osdep/path-macosx.m
@@ -20,11 +20,12 @@
#include "options/path.h"
#include "osdep/path.h"
-char *mp_get_macosx_bundled_path(const char *file)
+char *mp_get_macosx_bundled_path(void *talloc_ctx, struct mpv_global *global,
+ const char *filename)
{
NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];
NSString *path = [[NSBundle mainBundle] resourcePath];
- char *rv = mp_path_join(NULL, bstr0([path UTF8String]), bstr0(file));
+ char *rv = mp_path_join(talloc_ctx, bstr0([path UTF8String]), bstr0(file));
[pool release];
return rv;
}