Thanks for your report. Do you have test stream that can show this problem? Also if you use IPP simplayer application, does the error happen for you.
I will try to build a test code to reproduce your case. To confirm the problem: you are using difference H.264 decoder instances for different streams, and using non-threaded H.264 decoder (since you threaded at the high level). Right?
Thanks for the detail check. I will forward it to the engineer owner to have verify if it need a fix.
The workaround looks fine (use the static tableInitializer, and only call H264Bitstream::InitTables() once).
Please, consider (correct) this when you are looking into the issue (and generally remember that Gotcha anywhere else).
Selea noted before, he posted the following code at umc_h264_dec_bitstream.cpp file to resolve the problem.
static TableInitializer tableInitializer;
To us,We just upgrade IPP from 5 to 7.0.4. I don't have otherreference code
in 7.0.3 or older. And since there are over 2000 line in umc_h264_dec_bitstream.cpp,
It's hard for me to guess where to insert that paragraph.
My first try is insert that codes after the function
void SetDefaultScalingLists(H264SeqParamSet * sps)
But the result is still same..crash!
It would be great if selea can post the whole modify umc_h264_dec_bitstream.cpp.