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:
parent
a5bfa66df5
commit
8f5d573a83
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user