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

Stas Oskin stas.oskin
Sun Feb 11 15:58:54 CET 2007


> did you compile lav* with --enable-pthreads ?


> if above doesnt help try recompile libav* (and your application if needed)

I recompiled both the libav* and the application with these flags,
unfortunately it didn't help. The threads are still writing, one into
the file of another.

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.


More information about the ffmpeg-devel mailing list