[Ffmpeg-devel] Stream file handle hijacking by another thread

Reimar Döffinger Reimar.Doeffinger
Sun Feb 11 16:50:01 CET 2007


Hello,
On Sun, Feb 11, 2007 at 04:58:54PM +0200, Stas Oskin wrote:
> I discovered the following message appearing from time to time in the logs:
> "insufficient thread locking around avcodec_open/close()"
> 
> Could it be related? But I have locked with mutex these calls,
> together with the rest of libav* function calls.

If you get this you obviously have not.
You get this message only if the sum of threads executing one of either
avcodec_open or avcodec_close is > 1.

Greetings,
Reimar D?ffinger




More information about the ffmpeg-devel mailing list