Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

IPP 7.0.5 H264 init tables thread safe

selea
Beginner
242 Views
I think that the variable
Ipp32u H264VideoDecoder::m_iInstances = 0;
it's not threadsafe. So could be a problem if multiple threads access the variable, andH264Bitstream::ReleaseTables could be released more than one time.
Moreover the variable
bool H264Bitstream::m_bTablesInited = false;
it's not threadsafe so you can Init or destroy the H264Table more that once.
Do you think it's better to use a vm_mutex to make the initializzation threadsafe?
0 Kudos
1 Reply
Pavel_V_Intel
Employee
242 Views
Good day.
I will probably add mutex in future.
0 Kudos
Reply