diff options
author | ritsuka <[email protected]> | 2015-03-17 13:56:21 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-03-17 13:56:21 +0000 |
commit | 48a9e546878ae074202e0301f428193b7915d68f (patch) | |
tree | cf3f0f270fc8c7430dec870e954c826926c02a60 /macosx/HBAudioTrackPreset.m | |
parent | 220bd888e05696acbe1dd47f96ded78c389fc27f (diff) |
MacGui: convert the mac gui to Objective-C ARC.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@6996 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/HBAudioTrackPreset.m')
-rw-r--r-- | macosx/HBAudioTrackPreset.m | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/macosx/HBAudioTrackPreset.m b/macosx/HBAudioTrackPreset.m index da7fd6748..80bcf918d 100644 --- a/macosx/HBAudioTrackPreset.m +++ b/macosx/HBAudioTrackPreset.m @@ -169,7 +169,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex; { [encoders addObject:@(audio_encoder->name)]; } - return [encoders autorelease]; + return encoders; } - (NSArray *)mixdowns @@ -184,7 +184,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex; [mixdowns addObject:@(mixdown->name)]; } } - return [mixdowns autorelease]; + return mixdowns; } - (NSArray *)samplerates @@ -196,7 +196,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex; { [samplerates addObject:@(audio_samplerate->name)]; } - return [samplerates autorelease]; + return samplerates; } - (NSArray *)bitrates @@ -219,7 +219,7 @@ static void *HBAudioEncoderContex = &HBAudioEncoderContex; [bitrates addObject:@(audio_bitrate->name)]; } } - return [bitrates autorelease]; + return bitrates; } + (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key |