mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
split expression in two.
makes order of evaluation strictly defined. (cf http://en.wikipedia.org/wiki/Sequence_point) Suggestion by mr dot gnu dot jr at gmail dot com
This commit is contained in:
parent
b2b0090b4c
commit
415dbe4625
@ -494,7 +494,8 @@ static int GetCoeffs(VP8BitReader* const br, ProbaArray prob,
|
||||
if (!VP8GetBit(br, p[7])) {
|
||||
v = 5 + VP8GetBit(br, 159);
|
||||
} else {
|
||||
v = 7 + 2 * VP8GetBit(br, 165) + VP8GetBit(br, 145);
|
||||
v = 7 + 2 * VP8GetBit(br, 165);
|
||||
v += VP8GetBit(br, 145);
|
||||
}
|
||||
} else {
|
||||
const uint8_t* tab;
|
||||
|
Loading…
Reference in New Issue
Block a user