You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avidec: remove unneeded null check
Fixes CID29555 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		| @@ -1144,7 +1144,7 @@ resync: | ||||
|             return err; | ||||
|         size = err; | ||||
|  | ||||
|         if(ast->has_pal && pkt->data && pkt->size<(unsigned)INT_MAX/2){ | ||||
|         if(ast->has_pal && pkt->size<(unsigned)INT_MAX/2){ | ||||
|             uint8_t *pal; | ||||
|             pal = av_packet_new_side_data(pkt, AV_PKT_DATA_PALETTE, AVPALETTE_SIZE); | ||||
|             if(!pal){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user