diff options
author | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-06-27 10:07:47 +0200 |
---|---|---|
committer | Kostya Shishkov <kostya.shishkov@gmail.com> | 2012-06-27 18:05:58 +0200 |
commit | 8f5d573a83d16ed26a71be995cbb886fb743a482 (patch) | |
tree | 364aff670e1df8a1e125c9add895e082f71508e4 /libavcodec | |
parent | a5bfa66df516b7be55fd08fc62c2b012fc18e340 (diff) | |
download | ffmpeg-8f5d573a83d16ed26a71be995cbb886fb743a482.tar.gz |
mss1: report palette changed when some additional colours were decoded
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/mss1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mss1.c b/libavcodec/mss1.c index 952737440b..062cf3a7a5 100644 --- a/libavcodec/mss1.c +++ b/libavcodec/mss1.c @@ -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) |