summaryrefslogtreecommitdiff
path: root/libavcodec/mss1.c
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2012-06-26 09:30:27 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2012-06-26 09:30:27 +0200
commitc77bcbbb3223101ab6984d00d23389012c0c4514 (patch)
tree4c12eed7c44af8b88fbf99c13a0641964fb52fbf /libavcodec/mss1.c
parent3b0ad040b3bffaea5c5fd36bfddd9a436bc6c9c4 (diff)
Signal MSS1 palette change.
Reviewed-by: Paul B Mahol
Diffstat (limited to 'libavcodec/mss1.c')
-rw-r--r--libavcodec/mss1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/mss1.c b/libavcodec/mss1.c
index dfddbd97ec..6163ecf26e 100644
--- a/libavcodec/mss1.c
+++ b/libavcodec/mss1.c
@@ -557,7 +557,7 @@ static int decode_pal(MSS1Context *ctx, ArithCoder *acoder)
*pal++ = (0xFF << 24) | (r << 16) | (g << 8) | b;
}
- return 0;
+ return 1;
}
static int decode_pivot(MSS1Context *ctx, ArithCoder *acoder, int base)