mss1: report palette changed when some additional colours were decoded

This commit is contained in:
Kostya Shishkov
2012-06-27 18:05:58 +02:00
parent a5bfa66df5
commit 8f5d573a83
+1 -1
View File
@@ -557,7 +557,7 @@ static int decode_pal(MSS1Context *ctx, ArithCoder *acoder)
*pal++ = (r << 16) | (g << 8) | b;
}
return 0;
return !!ncol;
}
static int decode_pivot(MSS1Context *ctx, ArithCoder *acoder, int base)