> Yep, in my opinion (anyone please correct me if I'm wrong), the libavxxx
> libs are reentrant , which means you can use them concurrently , provided
> each thread manipulates its own set of data.
> The calls to the xxx_register_all() functions, due to they global nature,
> must be mutexed to ensure that they are not called concurrently if your code
> might attempt to do so.

Here's a list of other functions that also need locking:
- avcodec_find_encoder()
- avcodec_find_decoder()
- av_find_stream_info()
- avcodec_close()
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to