summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libhb/common.h2
-rw-r--r--macosx/Controller.mm2
2 files changed, 2 insertions, 2 deletions
diff --git a/libhb/common.h b/libhb/common.h
index e63ecaf8b..d43e5169f 100644
--- a/libhb/common.h
+++ b/libhb/common.h
@@ -197,7 +197,7 @@ struct hb_job_s
#define HB_MUX_IPOD 0x100000
int mux;
- char * file;
+ const char * file;
#ifdef __LIBHB__
/* Internal data */
diff --git a/macosx/Controller.mm b/macosx/Controller.mm
index 1bde5dedd..499ae83ee 100644
--- a/macosx/Controller.mm
+++ b/macosx/Controller.mm
@@ -864,7 +864,7 @@ if ([[NSUserDefaults standardUserDefaults] boolForKey:@"DefaultPresetsDrawerShow
[self PrepareJob];
/* Destination file */
- job->file = strdup( [[fDstFile2Field stringValue] UTF8String] );
+ job->file = [[fDstFile2Field stringValue] UTF8String];
if( [fVidTwoPassCheck state] == NSOnState )
{