We have built inIntel mpeg4 and jpeg decoders in our product. Some of our clients are complainning about memory leaks of mpeg4 after thousands switches between different cameras. I tried to narrow down the leak and foundthe problemis with the mpeg4 decoder.The leak appears when deleting the decoder after the decoding is finished. ifI putthe decoderinto a umc_thread, deleting thedecoder willcause theleaks. But it works fine if I put it in the main loop. There is no problem with Jpeg decoder. I hope you can help me to solve this problem in some way.
The ipp sample version I'm using is 5.3.095.
With the attached code you can find
1. mpeg4_memory_leak_report.jpg, performance chart of private bytes and handle leaks
2. raw data under .\frames\ for running the test
3. three scenarios,twowhere the mpeg4 decoder works fine, and one where it leaks
4. jpeg decoder works fine in all the three scenarios