You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	cmdutils: pass number of groups to split_commandline().
This makes the code simpler and avoids mixing designated and non-designated initializers in a potentially unsafe way in avconv.
This commit is contained in:
		| @@ -286,7 +286,7 @@ int parse_optgroup(void *optctx, OptionGroup *g); | ||||
|  */ | ||||
| int split_commandline(OptionParseContext *octx, int argc, char *argv[], | ||||
|                       const OptionDef *options, | ||||
|                       const OptionGroupDef *groups); | ||||
|                       const OptionGroupDef *groups, int nb_groups); | ||||
|  | ||||
| /** | ||||
|  * Free all allocated memory in an OptionParseContext. | ||||
|   | ||||
		Reference in New Issue
	
	Block a user