You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avfilter/vf_waveform: abort early if there are no components to show
This commit is contained in:
		| @@ -3025,6 +3025,9 @@ static int config_output(AVFilterLink *outlink) | ||||
|             comp++; | ||||
|     } | ||||
|     s->acomp = comp; | ||||
|     if (s->acomp == 0) | ||||
|         return AVERROR(EINVAL); | ||||
|  | ||||
|     s->odesc = av_pix_fmt_desc_get(outlink->format); | ||||
|     s->dcomp = s->odesc->nb_components; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user