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!
1 | initial version |
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!