MasamuneXGP
21st September 2005, 04:14
I'm programming something that involves viewing video frames. It works very nicely, for some reason the "packed DIBs" returned by AVIStreamGetFrame are not deallocating. They're staying in memory forever until AVIStreamGetFrameClose is called. Meaning after I pull a few thousand frames, the memory usage is through the roof. How can I deallocate the DIB pointers? Or can I? Do I have to called GetFrameOpen/GetFrame/GetFrameClose every time?