Application using ffmpeg to read and write QT files. C++, Win 7.
First 300+ calls to avpicture_alloc succeed; then the next one returns error
despite valid parameters in function call:
{
AVPicture* reformatFrame = new AVPicture;
ap = avpicture_alloc( reformatFrame, iPxfmt, nss, nlines);
in same module, after processing reformatFrame it gets released:
avpicture_free(reformatFrame);
delete reformatFrame;
}
When it fails, the return code, ap, is -12
Smells like a memory leak, though. I run vld [visual lead detector] and it
does not report any memory leaks.
Any ideas where to look? What would -12 mean ??
Jim Morgenstern
Image Mining LLC
248-252-2626
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user