You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Avoid NULL dereference on corrupted bitstream with real decoder.
rv34_decode_slice() can return without allocating any pictures. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							d788af6cf6
						
					
				
				
					commit
					140dbcff35
				
			| @@ -1538,7 +1538,7 @@ int ff_rv34_decode_frame(AVCodecContext *avctx, | ||||
|             break; | ||||
|     } | ||||
|  | ||||
|     if(last){ | ||||
|     if(last && s->current_picture_ptr){ | ||||
|         if(r->loop_filter) | ||||
|             r->loop_filter(r, s->mb_height - 1); | ||||
|         ff_er_frame_end(s); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user