summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--macosx/HBAudioDefaults.m3
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/HBAudioDefaults.m b/macosx/HBAudioDefaults.m
index 6d300a496..37fe5a848 100644
--- a/macosx/HBAudioDefaults.m
+++ b/macosx/HBAudioDefaults.m
@@ -170,8 +170,7 @@
if (preset[@"AudioEncoderFallback"])
{
// map legacy encoder names via libhb
- const char *strValue = hb_audio_encoder_sanitize_name([preset[@"AudioEncoderFallback"] UTF8String]);
- self.encoderFallback = hb_audio_encoder_get_from_name(strValue);
+ self.encoderFallback = hb_audio_encoder_get_from_name([preset[@"AudioEncoderFallback"] UTF8String]);
}
[self.tracksArray removeAllObjects];