summaryrefslogtreecommitdiffstats
path: root/libhb/ports.h
diff options
context:
space:
mode:
authorRodeo <[email protected]>2015-04-30 19:18:19 +0000
committerRodeo <[email protected]>2015-04-30 19:18:19 +0000
commite6fcf2f40c2628f7780d4841549f5d291024ae9f (patch)
treed6ae67bbc932baa945be6382c43fe2ae56791b8a /libhb/ports.h
parent29607855a2ce13dbd843b1d270b4e5bd0adeac35 (diff)
hb_get_user_config_directory: improvements.
Fix build with older MinGW-w64 toolchains. Fix potential memory leak and crashes. git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7140 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'libhb/ports.h')
-rw-r--r--libhb/ports.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libhb/ports.h b/libhb/ports.h
index 9a3da7a6a..5e039809e 100644
--- a/libhb/ports.h
+++ b/libhb/ports.h
@@ -101,7 +101,7 @@ void hb_get_tempory_filename( hb_handle_t *, char name[1024],
char * fmt, ... );
#if defined( SYS_DARWIN )
-void osx_get_user_config_directory( char path[512] );
+int osx_get_user_config_directory( char path[512] );
#endif
void hb_get_user_config_directory( char path[512] );
void hb_get_user_config_filename( char name[1024], char *fmt, ... );