diff --git a/MP42/MP42VobSubImporter.m b/MP42/MP42VobSubImporter.m index 9d11e46..30f721b 100644 --- a/MP42/MP42VobSubImporter.m +++ b/MP42/MP42VobSubImporter.m @@ -282,7 +282,7 @@ static NSArray * LoadVobSubSubtitles(NSURL *theDirectory, NSStr for (NSString *line in vobTrack->privateData) { if ([line hasPrefix:@"palette: "]) { const char *palette = [line UTF8String]; - UInt32 colorPalette[16]; + UInt32 colorPalette[32]; if (palette != NULL) { sscanf(palette, "palette: %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx, %lx",