Re: [FFmpeg-devel] [PATCH] avcodec/pthread_frame: Fix checks and cleanup during init

2021-03-23 Thread Andreas Rheinhardt
Nuo Mi: > On Fri, Feb 12, 2021 at 12:06 AM Andreas Rheinhardt < > andreas.rheinha...@gmail.com> wrote: > >> Up until now, ff_frame_thread_init had several bugs: >> 1. It did not check whether the condition and mutexes >>could be successfully created. >> 2. In case an error happened when settin

Re: [FFmpeg-devel] [PATCH] avcodec/pthread_frame: Fix checks and cleanup during init

2021-02-11 Thread Nuo Mi
On Fri, Feb 12, 2021 at 12:06 AM Andreas Rheinhardt < andreas.rheinha...@gmail.com> wrote: > Up until now, ff_frame_thread_init had several bugs: > 1. It did not check whether the condition and mutexes >could be successfully created. > 2. In case an error happened when setting up the child thr

[FFmpeg-devel] [PATCH] avcodec/pthread_frame: Fix checks and cleanup during init

2021-02-11 Thread Andreas Rheinhardt
Up until now, ff_frame_thread_init had several bugs: 1. It did not check whether the condition and mutexes could be successfully created. 2. In case an error happened when setting up the child threads, ff_frame_thread_free is called to clean up all threads set up so far, including the curr

Re: [FFmpeg-devel] [PATCH] avcodec/pthread_frame: Fix checks and cleanup during init

2021-02-11 Thread Andreas Rheinhardt
Andreas Rheinhardt: > Up until now, ff_frame_thread_init had several bugs: > 1. It did not check whether the condition and mutexes >could be successfully created. > 2. In case an error happened when setting up the child threads, >ff_frame_thread_free is called to clean up all threads set up