1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

mss1: report palette changed when some additional colours were decoded

This commit is contained in:
Kostya Shishkov 2012-06-27 10:07:47 +02:00
parent a5bfa66df5
commit 8f5d573a83

View File

@ -557,7 +557,7 @@ static int decode_pal(MSS1Context *ctx, ArithCoder *acoder)
*pal++ = (r << 16) | (g << 8) | b; *pal++ = (r << 16) | (g << 8) | b;
} }
return 0; return !!ncol;
} }
static int decode_pivot(MSS1Context *ctx, ArithCoder *acoder, int base) static int decode_pivot(MSS1Context *ctx, ArithCoder *acoder, int base)