[FFmpeg-devel] [PATCH 1/3] pthread : Remove one unnecessary lock/unlock pair in worker loop.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Thu Mar 22 18:34:12 CET 2012


On Thu, Mar 22, 2012 at 09:51:49AM -0700, Aaron Colwell wrote:
> Why does ff_thread_finish_setup(avctx) really need to be called outside of
> the p->mutex?

I doubt it needs to, it just generally is safer to not keep a mutex
without a good reason to do so, not the other way round of only
releasing a mutex when you absolutely have to.


More information about the ffmpeg-devel mailing list