tor 2022-06-16 klockan 20:27 +0200 skrev Michael Niedermayer:
>
> >
> > void avpriv_slicethread_free(AVSliceThread **pctx)
> > @@ -236,8 +244,8 @@ void avpriv_slicethread_free(AVSliceThread
> > **pctx)
> > #else /* HAVE_PTHREADS || HAVE_W32THREADS || HAVE_OS32THREADS */
> >
> > int avpriv_slicethread_create(AVSliceThread **pctx, void *priv,
> > - void (*worker_func)(void *priv, int
> > jobnr, int threadnr, int nb_jobs, int nb_threads),
> > - void (*main_func)(void *priv),
> > + int (*worker_func)(void *priv, int
> > jobnr, int threadnr, int nb_jobs, int nb_threads),
> > + int (*main_func)(void *priv),
> > int nb_threads)
> > {
> > *pctx = NULL;
>
> You forgot to update the fallback code when threads are disabled
Uhm, the existing code just abort()s if threads are disabled? I'm not
really sure if there anything that can or should be done there
/Tomas
_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".