diff options
Diffstat (limited to 'macosx/HBJob.m')
-rw-r--r-- | macosx/HBJob.m | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/macosx/HBJob.m b/macosx/HBJob.m index 9bf41c49a..bde7ffa2e 100644 --- a/macosx/HBJob.m +++ b/macosx/HBJob.m @@ -481,8 +481,7 @@ NSString *HBChaptersChangedNotification = @"HBChaptersChangedNotification"; _video.job = self; decodeBool(_chaptersEnabled); - decodeCollectionOfObjects(_chapterTitles, NSArray, HBChapter); - if (_chapterTitles == nil) { goto fail; } + decodeCollectionOfObjectsOrFail(_chapterTitles, NSArray, HBChapter); return self; } |