You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	mlpdec: Fix a undefined left shift of negative number
This fixes a -Wshift-negative-value warning reported with clang 3.7+. Signed-off-by: Ganesh Ajjanagadde <gajjanagadde@gmail.com>
This commit is contained in:
		
				
					committed by
					
						 Vittorio Giovara
						Vittorio Giovara
					
				
			
			
				
	
			
			
			
						parent
						
							948f3c19a8
						
					
				
				
					commit
					977f41e274
				
			| @@ -578,7 +578,7 @@ static int read_restart_header(MLPDecodeContext *m, GetBitContext *gbp, | ||||
|  | ||||
|         /* Default audio coding is 24-bit raw PCM. */ | ||||
|         cp->huff_offset      = 0; | ||||
|         cp->sign_huff_offset = (-1) << 23; | ||||
|         cp->sign_huff_offset = -(1 << 23); | ||||
|         cp->codebook         = 0; | ||||
|         cp->huff_lsbs        = 24; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user