projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a5bfa66
)
mss1: report palette changed when some additional colours were decoded
author
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 27 Jun 2012 08:07:47 +0000
(10:07 +0200)
committer
Kostya Shishkov
<kostya.shishkov@gmail.com>
Wed, 27 Jun 2012 16:05:58 +0000
(18:05 +0200)
libavcodec/mss1.c
patch
|
blob
|
history
diff --git
a/libavcodec/mss1.c
b/libavcodec/mss1.c
index 952737440b6fc140bf112bec3b75f35401c340eb..062cf3a7a561a5c194f655ceeede57c0cf129726 100644
(file)
--- 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)