diff options
author | Damiano Galassi <[email protected]> | 2019-11-20 10:25:35 +0100 |
---|---|---|
committer | sr55 <[email protected]> | 2019-12-09 17:36:24 +0000 |
commit | 6e21e78205d26bf05df70c0b51031b6cd926bd7d (patch) | |
tree | ad91e3b21d2f06284d10306e724c01eeb5c103df | |
parent | 726aa222ed0db095edcbcb558e629cc409650f5e (diff) |
MacGui: fix HBSubtitlesTrack unarchiver when the track is an external ssa file.
(cherry picked from commit 820d2643071919db35a17bff257e0ce9295793d7)
-rw-r--r-- | macosx/HBSubtitlesTrack.m | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/macosx/HBSubtitlesTrack.m b/macosx/HBSubtitlesTrack.m index 457410a27..9e95bc544 100644 --- a/macosx/HBSubtitlesTrack.m +++ b/macosx/HBSubtitlesTrack.m @@ -372,7 +372,7 @@ static NSArray *_languagesArray = nil; self = [super init]; decodeInteger(_sourceTrackIdx); if (_sourceTrackIdx < 0) { goto fail; } - decodeInt(_type); if (_type < VOBSUB || _type > SRTSUB) { goto fail; } + decodeInt(_type); if (_type < VOBSUB || _type > IMPORTSSA) { goto fail; } decodeInt(_container); if (_container != HB_MUX_MP4 && _container != HB_MUX_MKV && _container != HB_MUX_WEBM) { goto fail; } decodeBool(_forcedOnly); |