Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

delete videocapture

Hi all,

I'm using OpenCV 2.42. If I initialize a VideoCapture object on the stack, all is good. However if I try:

VideoCapture *x = new VideoCapture();
delete x;

It crashes when I delete x. Any ideas what I've done wrong?

Thanks!