You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avconv: don't pass a bogus parameter to avfilter_graph_create_filter().
The buffer sink does not take any parameters. Fixes an uninitialized variable warning.
This commit is contained in:
		| @@ -191,7 +191,7 @@ static int configure_output_video_filter(FilterGraph *fg, OutputFilter *ofilter, | ||||
|     snprintf(name, sizeof(name), "output stream %d:%d", ost->file_index, ost->index); | ||||
|     ret = avfilter_graph_create_filter(&ofilter->filter, | ||||
|                                        avfilter_get_by_name("buffersink"), | ||||
|                                        name, NULL, pix_fmts, fg->graph); | ||||
|                                        name, NULL, NULL, fg->graph); | ||||
|     if (ret < 0) | ||||
|         return ret; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user