[FFmpeg-devel] [PATCH] avcodec thread safety fix

Andreas Öman andreas
Tue May 26 20:15:12 CEST 2009


Michael Niedermayer wrote:
> On Mon, May 25, 2009 at 11:53:22PM +0200, Andreas ?man wrote:
>> I agree on the error code. But i don't really see how / what the
>> multiple mutexes are supposed to do?
> 
> pick a program that uses a mutexm chance are it uses more than 1
> -> its unlikely we will never need a second mutex -> your proposed API is
> unlikely to be sufficient in the future
> 

Fair enough. Here is another variant.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock2.patch
Type: text/x-diff
Size: 3112 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090526/4377dbba/attachment.patch>



More information about the ffmpeg-devel mailing list