diff options
author | ritsuka <[email protected]> | 2014-11-02 15:13:46 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2014-11-02 15:13:46 +0000 |
commit | 18ee2d5b932919e60396060ea063053ac8fc711a (patch) | |
tree | 115b67dfbe62a097d274c458113ad3f763ba37ab /macosx/HBAudioDefaults.m | |
parent | 2857c1fd3d6762d787a90474440b1def74223232 (diff) |
MacGui: removed two useless array creation and made a copy of the trackSelectionLanguages ivar before assigning it to the preset dict.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6497 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioDefaults.m')
-rw-r--r-- | macosx/HBAudioDefaults.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m index 3c9cff573..58b355573 100644 --- a/macosx/HBAudioDefaults.m +++ b/macosx/HBAudioDefaults.m @@ -179,7 +179,7 @@ { preset[@"AudioTrackSelectionBehavior"] = @"none"; } - preset[@"AudioLanguageList"] = self.trackSelectionLanguages; + preset[@"AudioLanguageList"] = [[self.trackSelectionLanguages copy] autorelease]; // Passthru settings preset[@"AudioAllowAACPass"] = @(self.allowAACPassthru); |