mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-10-31 12:36:41 +08:00 
			
		
		
		
	quickdraw: Make the palette opaque
Additional overflow fix by Michael Niedermayer <michaelni@gmx.at>. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
		 Carl Eugen Hoyos
					Carl Eugen Hoyos
				
			
				
					committed by
					
						 Vittorio Giovara
						Vittorio Giovara
					
				
			
			
				
	
			
			
			 Vittorio Giovara
						Vittorio Giovara
					
				
			
						parent
						
							da5c6a97bb
						
					
				
				
					commit
					d0dce15da3
				
			| @@ -61,7 +61,7 @@ static int parse_palette(AVCodecContext *avctx, GetByteContext *gbc, | ||||
|         bytestream2_skip(gbc, 1); | ||||
|         b = bytestream2_get_byte(gbc); | ||||
|         bytestream2_skip(gbc, 1); | ||||
|         pal[idx] = (r << 16) | (g << 8) | b; | ||||
|         pal[idx] = (0xFFU << 24) | (r << 16) | (g << 8) | b; | ||||
|     } | ||||
|     return 0; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user