You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	lavu/slicethread: return ENOSYS rather than EINVAL in the dummy func
EINVAL is the wrong error code here, since the arguments passed to the function are valid. The error is that the function is not implemented in the build, which corresponds to ENOSYS.
This commit is contained in:
		| @@ -240,7 +240,7 @@ int avpriv_slicethread_create(AVSliceThread **pctx, void *priv, | ||||
|                               int nb_threads) | ||||
| { | ||||
|     *pctx = NULL; | ||||
|     return AVERROR(EINVAL); | ||||
|     return AVERROR(ENOSYS); | ||||
| } | ||||
|  | ||||
| void avpriv_slicethread_execute(AVSliceThread *ctx, int nb_jobs, int execute_main) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user