You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	cmdutils: remove error message from opt_default() in case of missing option
A similar error message is generated by the calling function, avoid
duplication and spurious error message occurring with negated boolean
options introduced in 8bb5680, which can be reproduced for example with
the command:
ffmpeg -f lavfi -i testsrc=d=0.1 -nostdin -f null -
			
			
This commit is contained in:
		| @@ -547,8 +547,6 @@ int opt_default(void *optctx, const char *opt, const char *arg) | ||||
|  | ||||
|     if (consumed) | ||||
|         return 0; | ||||
|     av_log(NULL, AV_LOG_ERROR, "Could not find option '%s' in any of the FFmpeg subsystems " | ||||
|            "(codec, format, scaler, resampler contexts)\n", opt); | ||||
|     return AVERROR_OPTION_NOT_FOUND; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user