You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/af_join: do not dereference possible null pointer
This commit is contained in:
		| @@ -586,7 +586,8 @@ static int activate(AVFilterContext *ctx) | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     nb_samples = s->input_frames[0]->nb_samples; | ||||
|     if (s->input_frames[0]) | ||||
|         nb_samples = s->input_frames[0]->nb_samples; | ||||
|  | ||||
|     for (i = 1; i < ctx->nb_inputs && nb_samples > 0; i++) { | ||||
|         if (s->input_frames[i]) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user