Joe Flowers <joe.flowers@...> writes:

> I need to use the libav* APIs (specifically the audio 
> codecs) in a thread-safe way, but they seem to be full 
> of malloc()s and free()s which aren't re-entrant.

My malloc manual says that it uses mutexes "internally to 
protect the memory-management data structures employed by 
these functions" (alloc, free, etc.) to avoid corruption.
Or do I miss something?

Audio codecs generally don't use multi-threading and 
should therefore not require special treatment.

Carl Eugen

_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to