<div>Hi guys,</div><div><br></div><div>I have multiple threads which do simultaneous demultiplexing for different streams.</div><div><br></div><div>Most of the times it works fine, but sometimes a see these messages at startup:</div>
<div>[NULL @ 0x7fffa4006120] insufficient thread locking around avcodec_open/close()</div><div>Also it sometimes fails to do avcodec_open (it's the same stream, nothing changed..)</div><div><br></div><div>I have a global mutex for the threads so at any point only one thread can make those API calls.</div>
<div><br></div><div>Any idea what the problem is?</div><div><br></div><div>thx</div><div><br></div><div>-- </div><div>Karoly Horvath</div><div><a href="http://softwaredevel.wikispaces.com/">http://softwaredevel.wikispaces.com/</a></div>