diff options
Diffstat (limited to 'macosx/HBSubtitles.m')
-rw-r--r-- | macosx/HBSubtitles.m | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/macosx/HBSubtitles.m b/macosx/HBSubtitles.m index f0d224078..235ceec1e 100644 --- a/macosx/HBSubtitles.m +++ b/macosx/HBSubtitles.m @@ -513,9 +513,12 @@ extern NSString *keySubTrackSrtFileURLBookmark; track.delegate = self; } - decodeObject(_defaults, HBSubtitlesDefaults); + decodeObjectOrFail(_defaults, HBSubtitlesDefaults); return self; + +fail: + return nil; } #pragma mark - Presets |