[Libav-user] [libav-users] Thread safety of avcodec_copy_context()

wl2776 wl2776 at gmail.com
Thu Mar 1 10:42:08 CET 2012

Hi all.
Is it possible to create AVCodecContext* variable in one thread and read
from it (using avcodec_copy_context) in another thread without mutexes?

It is supposed, of course, that the first thread doesn't destroy this
variable while reading.

Same question about AVFormatContext * - is it safe to read from it from
another thread?

View this message in context: http://libav-users.943685.n4.nabble.com/libav-users-Thread-safety-of-avcodec-copy-context-tp4434527p4434527.html
Sent from the libav-users mailing list archive at Nabble.com.

More information about the Libav-user mailing list