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

Andreas Öman andreas
Mon May 25 19:47:13 CEST 2009


Michael Niedermayer wrote:
> On Tue, May 12, 2009 at 04:08:55PM -0700, Daniel Steinberg wrote:
>> So, one alternative would be to add a similar field to
>> AVFormatContext, and propagate it to the AVCodecContext in
>> av_new_stream().  It could also be propagated to all codec contexts in
>> av_find_stream_info().
>>
>> Got a better suggestion?
> 
> a global function pointer?

A patch with this attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lock.patch
Type: text/x-diff
Size: 2570 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090525/47c7861d/attachment.patch>



More information about the ffmpeg-devel mailing list