<div dir="ltr"><div><div><div><div>Hello Everyone,<br><br></div>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.<br>

<br></div>Does anyone know how to make (enable) the libav* APIs to be thread-safe?<br></div><div>I can't use the command-line utilities provided. I need to make API calls within my C coding.<br><br>Are there flags or initialization and de-allocation procedures I need to follow in my C code that calls the APIs?<br>

<br></div>Thanks!<br><br></div>Joe<br>-------------<br><br></div>