- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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?
Link Copied
1 Reply
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Good day.
I will probably add mutex in future.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page