diff --git a/libavutil/slicethread.c b/libavutil/slicethread.c index f928a5cf00..867ce32238 100644 --- a/libavutil/slicethread.c +++ b/libavutil/slicethread.c @@ -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)