From 3c6ed5896c3e339ac2407188527104cc3b1f18ca Mon Sep 17 00:00:00 2001 From: Damiano Galassi Date: Mon, 28 Sep 2015 13:44:43 +0200 Subject: [PATCH] Make an array bigger --- MP42/MP42MkvImporter.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MP42/MP42MkvImporter.m b/MP42/MP42MkvImporter.m index 9bad3d6..d3936aa 100644 --- a/MP42/MP42MkvImporter.m +++ b/MP42/MP42MkvImporter.m @@ -593,7 +593,7 @@ int readMkvPacket(struct StdIoStream *ioStream, TrackInfo *trackInfo, uint64_t char *string = (char *) trackInfo->CodecPrivate; char *palette = strnstr(string, "palette:", trackInfo->CodecPrivateSize); - 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",