mirror of
				https://github.com/webmproject/libwebp.git
				synced 2025-10-31 10:25:46 +01:00 
			
		
		
		
	fix the BITS=8 case
spotted by Måns Rullgård (mans at mansr dot com) Change-Id: I4484b1f00223a0be18cbe924b24a9f5ccffb7ea2
This commit is contained in:
		
				
					committed by
					
						 James Zern
						James Zern
					
				
			
			
				
	
			
			
			
						parent
						
							e5970bda8a
						
					
				
				
					commit
					77aa7d50a4
				
			| @@ -93,6 +93,8 @@ static WEBP_INLINE void VP8LoadNewBytes(VP8BitReader* const br) { | ||||
| #elif (BITS == 16) | ||||
|     // gcc will recognize a 'rorw $8, ...' here: | ||||
|     bits = (bit_t)(in_bits >> 8) | ((in_bits & 0xff) << 8); | ||||
| #else   // BITS == 8 | ||||
|     bits = (bit_t)in_bits; | ||||
| #endif | ||||
| #else    // LITTLE_ENDIAN | ||||
|     bits = (bit_t)in_bits; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user