mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 10:25:46 +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:
		| @@ -494,7 +494,8 @@ static int GetCoeffs(VP8BitReader* const br, ProbaArray prob, | |||||||
|             if (!VP8GetBit(br, p[7])) { |             if (!VP8GetBit(br, p[7])) { | ||||||
|               v = 5 + VP8GetBit(br, 159); |               v = 5 + VP8GetBit(br, 159); | ||||||
|             } else { |             } else { | ||||||
|               v = 7 + 2 * VP8GetBit(br, 165) + VP8GetBit(br, 145); |               v = 7 + 2 * VP8GetBit(br, 165); | ||||||
|  |               v += VP8GetBit(br, 145); | ||||||
|             } |             } | ||||||
|           } else { |           } else { | ||||||
|             const uint8_t* tab; |             const uint8_t* tab; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user